db_subnet_group_tags
Expands all tag keys and values for db_subnet_groups
in a region
Overview
Name | db_subnet_group_tags |
Type | Resource |
Description | The AWS::RDS::DBSubnetGroup resource creates a database subnet group. Subnet groups must contain at least two subnets in two different Availability Zones in the same region. For more information, see [Working with DB subnet groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Subnets) in the Amazon RDS User Guide. |
Id | aws.rds.db_subnet_group_tags |
Fields
Name | Datatype | Description |
---|---|---|
db_subnet_group_description | string | The description for the DB subnet group. |
db_subnet_group_name | string | The name for the DB subnet group. This value is stored as a lowercase string. Constraints: + Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. + Must not be default. + First character must be a letter. Example: mydbsubnetgroup |
subnet_ids | array | The EC2 Subnet IDs for the DB subnet group. |
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 db_subnet_groups
in a region.
SELECT
region,
db_subnet_group_description,
db_subnet_group_name,
subnet_ids,
tag_key,
tag_value
FROM aws.rds.db_subnet_group_tags
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the db_subnet_group_tags
resource, see db_subnet_groups