Skip to content

Create Workload Share

wellarchitected_create_workload_share R Documentation

Create a workload share

Description

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.

Usage

wellarchitected_create_workload_share(WorkloadId, SharedWith,
  PermissionType, ClientRequestToken)

Arguments

WorkloadId

[required]

SharedWith

[required]

PermissionType

[required]

ClientRequestToken

[required]

Value

A list with the following syntax:

list(
  WorkloadId = "string",
  ShareId = "string"
)

Request syntax

svc$create_workload_share(
  WorkloadId = "string",
  SharedWith = "string",
  PermissionType = "READONLY"|"CONTRIBUTOR",
  ClientRequestToken = "string"
)