db_subnet_groups
Retrieves a list of db_subnet_groups
in a region
Overview
Name | db_subnet_groups |
Type | Resource |
Description | db_subnet_groups |
Id | awscc.rds.db_subnet_groups |
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: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".<br/> Example: ``mysubnetgroup`` |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
db_subnet_group_name
FROM awscc.rds.db_subnet_groups
WHERE region = 'us-east-1'
Permissions
To operate on the db_subnet_groups
resource, the following permissions are required:
Create
iam:CreateServiceLinkedRole,
rds:CreateDBSubnetGroup,
rds:DescribeDBSubnetGroups,
rds:AddTagsToResource,
rds:RemoveTagsFromResource,
rds:ListTagsForResource
List
rds:DescribeDBSubnetGroups