Skip to main content

resource_share_tags

Expands all tag keys and values for resource_shares in a region

Overview

Nameresource_share_tags
TypeResource
DescriptionResource type definition for AWS::RAM::ResourceShare
Idaws.ram.resource_share_tags

Fields

NameDatatypeDescription
allow_external_principalsbooleanSpecifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of `true` lets you share with individual AWS accounts that are not in your organization. A value of `false` only has meaning if your account is a member of an AWS Organization. The default value is `true`.
arnstring
namestringSpecifies the name of the resource share.
permission_arnsarraySpecifies the [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the AWS RAM permission to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
principalsarraySpecifies the principals to associate with the resource share. The possible values are:
- An AWS account ID
- An Amazon Resource Name (ARN) of an organization in AWS Organizations
- An ARN of an organizational unit (OU) in AWS Organizations
- An ARN of an IAM role
- An ARN of an IAM user
resource_arnsarraySpecifies a list of one or more ARNs of the resources to associate with the resource share.
sourcesarraySpecifies from which source accounts the service principal has access to the resources in this resource share.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all resource_shares in a region.

SELECT
region,
allow_external_principals,
arn,
name,
permission_arns,
principals,
resource_arns,
sources,
tag_key,
tag_value
FROM aws.ram.resource_share_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the resource_share_tags resource, see resource_shares