rule_tags
Expands all tag keys and values for rules
in a region
Overview
Name | rule_tags |
Type | Resource |
Description | Resource Type definition for AWS::Rbin::Rule |
Id | aws.rbin.rule_tags |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | Rule Arn is unique for each rule. |
identifier | string | The unique ID of the retention rule. |
description | string | The description of the retention rule. |
resource_tags | array | Information about the resource tags used to identify resources that are retained by the retention rule. |
exclude_resource_tags | array | Information about the exclude resource tags used to identify resources that are excluded by the retention rule. |
resource_type | string | The resource type retained by the retention rule. |
retention_period | object | Information about the retention period for which the retention rule is to retain resources. |
status | string | The state of the retention rule. Only retention rules that are in the available state retain resources. |
lock_configuration | object | Information about the retention rule lock configuration. |
lock_state | string | The lock state for the retention rule. |
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 rules
in a region.
SELECT
region,
arn,
identifier,
description,
resource_tags,
exclude_resource_tags,
resource_type,
retention_period,
status,
lock_configuration,
lock_state,
tag_key,
tag_value
FROM aws.rbin.rule_tags
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the rule_tags
resource, see rules