Skip to main content

rule_tags

Expands all tag keys and values for rules in a region

Overview

Namerule_tags
TypeResource
DescriptionResource Type definition for AWS::Rbin::Rule
Idaws.rbin.rule_tags

Fields

NameDatatypeDescription
arnstringRule Arn is unique for each rule.
identifierstringThe unique ID of the retention rule.
descriptionstringThe description of the retention rule.
resource_tagsarrayInformation about the resource tags used to identify resources that are retained by the retention rule.
exclude_resource_tagsarrayInformation about the exclude resource tags used to identify resources that are excluded by the retention rule.
resource_typestringThe resource type retained by the retention rule.
retention_periodobjectInformation about the retention period for which the retention rule is to retain resources.
statusstringThe state of the retention rule. Only retention rules that are in the available state retain resources.
lock_configurationobjectInformation about the retention rule lock configuration.
lock_statestringThe lock state for the retention rule.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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