db_subnet_group
Gets an individual db_subnet_group
resource
Overview
Name | db_subnet_group |
Type | Resource |
Description | db_subnet_group |
Id | awscc.rds.db_subnet_group |
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.<br/> Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".<br/> Example: ``mysubnetgroup`` |
subnet_ids | array | The EC2 Subnet IDs for the DB subnet group. |
tags | array | An optional array of key-value pairs to apply to this DB subnet group. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
db_subnet_group_description,
db_subnet_group_name,
subnet_ids,
tags
FROM awscc.rds.db_subnet_group
WHERE data__Identifier = '<DBSubnetGroupName>';
Permissions
To operate on the db_subnet_group
resource, the following permissions are required:
Read
rds:DescribeDBSubnetGroups,
rds:ListTagsForResource
Update
rds:ModifyDBSubnetGroup,
rds:DescribeDBSubnetGroups,
rds:AddTagsToResource,
rds:RemoveTagsFromResource,
rds:ListTagsForResource
Delete
rds:DeleteDBSubnetGroup,
rds:DescribeDBSubnetGroups,
rds:ListTagsForResource