Data Source: awsOrganizationsResourceTags
Get tags attached to the specified AWS Organizations resource.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsOrganizationsResourceTags.DataAwsOrganizationsResourceTags(
this,
"account",
{
resourceId: "123456123846",
}
);
Argument Reference
resourceId
- (Required) ID of the resource with the tags to list. See details below.
resourceId
You can specify any of the following taggable resources.
- AWS account – specify the account ID number.
- Organizational unit – specify the OU ID that begins with
ou
and looks similar to:ou1A2B34Uvwxyz
- Root – specify the root ID that begins with
r
and looks similar to:r1A2B
- Policy – specify the policy ID that begins with
p
and looks similar to:p12Abcdefg3
Attributes Reference
In addition to all arguments above, the following attributes are exported:
tags
- Map of key=value pairs for each tag set on the resource.