aws ram associate-resource-share
Adds the specified list of principals, resources, and source constraints to a resource share. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--client-tokenSpecifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--principalsSpecifies a list of principals to whom you want to the resource share.--resource-arnsSpecifies a list of Amazon Resource Names (ARNs) of the resources that you want to share.--resource-share-arnSpecifies the Amazon Resource Name (ARN) of the resource share that you want to add principals or resources to.--sourcesSpecifies source constraints (accounts, ARNs, organization IDs, or organization paths) that limit when service principals can access resources in this resource share.