createWorkloadShare
inline suspend fun WellArchitectedClient.createWorkloadShare(crossinline block: CreateWorkloadShareRequest.Builder.() -> Unit): CreateWorkloadShareResponse
Create a workload share.
The owner of a workload can share it with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is deleted.
If you share a workload with an organization or OU, all accounts in the organization or OU are granted access to the workload.
For more information, see Sharing a workload in the Well-Architected Tool User Guide.