Skip to content
v2.275.0

CfnDBSubnetGroupProps Struct ​

Properties for defining a CfnDBSubnetGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_neptune as neptune } from 'aws-cdk-lib';
const cfnDBSubnetGroupProps: neptune.CfnDBSubnetGroupProps = {
  dbSubnetGroupDescription: 'dbSubnetGroupDescription',
  subnetIds: ['subnetIds'],

  // the properties below are optional
  dbSubnetGroupName: 'dbSubnetGroupName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

dbSubnetGroupDescriptionstringdb_subnet_group_descriptionstrdbSubnetGroupDescriptionStringDbSubnetGroupDescriptionstringDbSubnetGroupDescription*stringrequired#
Provides the description of the DB subnet group.
dbSubnetGroupNameoptionalstringdb_subnet_group_nameoptionalstrdbSubnetGroupNameoptionalStringDbSubnetGroupNameoptionalstringDbSubnetGroupNameoptional*string#
The name of the DB subnet group.
subnetIdsstring[]subnet_idstyping.List[str]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]*stringrequired#
The Amazon EC2 subnet IDs for the DB subnet group.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags that you want to attach to the DB subnet group.