Skip to main content

db_subnet_groups

Retrieves a list of db_subnet_groups in a region

Overview

Namedb_subnet_groups
TypeResource
Descriptiondb_subnet_groups
Idawscc.rds.db_subnet_groups

Fields

NameDatatypeDescription
db_subnet_group_namestringThe 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``
regionstringAWS 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