interface CfnDBSubnetGroupProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.CfnDBSubnetGroupProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnDBSubnetGroupProps |
![]() | software.amazon.awscdk.services.rds.CfnDBSubnetGroupProps |
![]() | aws_cdk.aws_rds.CfnDBSubnetGroupProps |
![]() | aws-cdk-lib » aws_rds » CfnDBSubnetGroupProps |
Properties for defining a CfnDBSubnetGroup
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const cfnDBSubnetGroupProps: rds.CfnDBSubnetGroupProps = {
dbSubnetGroupDescription: 'dbSubnetGroupDescription',
subnetIds: ['subnetIds'],
// the properties below are optional
dbSubnetGroupName: 'dbSubnetGroupName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
db | string | The description for the DB subnet group. |
subnet | string[] | The EC2 Subnet IDs for the DB subnet group. |
db | string | The name for the DB subnet group. This value is stored as a lowercase string. |
tags? | Cfn [] | Tags to assign to the DB subnet group. |
dbSubnetGroupDescription
Type:
string
The description for the DB subnet group.
subnetIds
Type:
string[]
The EC2 Subnet IDs for the DB subnet group.
dbSubnetGroupName?
Type:
string
(optional)
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
tags?
Type:
Cfn
[]
(optional)
Tags to assign to the DB subnet group.