AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Neptune::DBSubnetGroup

CfnDBSubnetGroup

The `AWS::Neptune::DBSubnetGroup` type creates an Amazon Neptune DB subnet group. Subnet groups must contain at least two subnets in two different Availability Zones in the same AWS Region.

Import

import { CfnDBSubnetGroup } from 'aws-cdk-lib/aws-neptune';

Or use the module namespace:

import * as neptune from 'aws-cdk-lib/aws-neptune';
// neptune.CfnDBSubnetGroup

Properties

Configuration passed to the constructor as CfnDBSubnetGroupProps.

dbSubnetGroupDescriptionRequired
string

Provides the description of the DB subnet group.

subnetIdsRequired
string[]

The Amazon EC2 subnet IDs for the DB subnet group.

dbSubnetGroupNameOptional
string

The name of the DB subnet group.

tagsOptional
CfnTag[]

The tags that you want to attach to the DB subnet group.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter