Skip to main content

required_tags

Creates, updates, deletes, gets or lists a required_tags resource.

Overview

Namerequired_tags
TypeResource
Idaws.resourcegroupstaggingapi.required_tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cloud_formation_resource_typesarrayDescribes the CloudFormation resource type assigned the required tag keys.
reporting_tag_keysarrayThese tag keys are marked as required in the report_required_tag_for block of the effective tag policy.
resource_typestringDescribes the resource type for the required tag keys.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_required_tagsselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;