resource_share_tags
Expands all tag keys and values for resource_shares
in a region
Overview
Name | resource_share_tags |
Type | Resource |
Description | Resource type definition for AWS::RAM::ResourceShare |
Id | aws.ram.resource_share_tags |
Fields
Name | Datatype | Description |
---|---|---|
allow_external_principals | boolean | Specifies 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`. |
arn | string | |
name | string | Specifies the name of the resource share. |
permission_arns | array | Specifies 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. |
principals | array | Specifies 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_arns | array | Specifies a list of one or more ARNs of the resources to associate with the resource share. |
sources | array | Specifies from which source accounts the service principal has access to the resources in this resource share. |
tag_key | string | Tag key. |
tag_value | string | Tag value. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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