required_tags
Creates, updates, deletes, gets or lists a required_tags resource.
Overview
| Name | required_tags |
| Type | Resource |
| Id | aws.resourcegroupstaggingapi.required_tags |
Fields
The following fields are returned by SELECT queries:
- list_required_tags
| Name | Datatype | Description |
|---|---|---|
cloud_formation_resource_types | array | Describes the CloudFormation resource type assigned the required tag keys. |
reporting_tag_keys | array | These tag keys are marked as required in the report_required_tag_for block of the effective tag policy. |
resource_type | string | Describes the resource type for the required tag keys. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_required_tags | select | region | Lists the required tags for supported resource types in an Amazon Web Services account. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_required_tags
Lists the required tags for supported resource types in an Amazon Web Services account.
SELECT
cloud_formation_resource_types,
reporting_tag_keys,
resource_type
FROM aws.resourcegroupstaggingapi.required_tags
WHERE region = '{{ region }}' -- required
;