db_subnet_groups_list_only
Lists db_subnet_groups in a region or regions, for all properties use db_subnet_groups
Overview
| Name | db_subnet_groups_list_only |
| 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 | awscc.rds.db_subnet_groups_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
db_subnet_group_name | string | The name for the DB subnet group. This value is stored as a lowercase string.<br />Constraints:<br />+ Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens.<br />+ Must not be default.<br />+ First character must be a letter.<br /><br />Example: ``mydbsubnetgroup`` |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all db_subnet_groups in a region.
SELECT
region,
db_subnet_group_name
FROM awscc.rds.db_subnet_groups_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the db_subnet_groups_list_only resource, see db_subnet_groups