policy_tags
Expands all tag keys and values for policies
in a region
Overview
Name | policy_tags |
Type | Resource |
Description | Policies in AWS Organizations enable you to manage different features of the AWS accounts in your organization. You can use policies when all features are enabled in your organization. |
Id | aws.organizations.policy_tags |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of the Policy |
type | string | The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY |
content | object | The Policy text content. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it. |
description | string | Human readable description of the policy |
target_ids | array | List of unique identifiers (IDs) of the root, OU, or account that you want to attach the policy to |
id | string | Id of the Policy |
arn | string | ARN of the Policy |
aws_managed | boolean | A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it. |
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 policies
in a region.
SELECT
region,
name,
type,
content,
description,
target_ids,
id,
arn,
aws_managed,
tag_key,
tag_value
FROM aws.organizations.policy_tags
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the policy_tags
resource, see policies