CfnDBSubnetGroupProps

class aws_cdk.aws_neptune.CfnDBSubnetGroupProps(*, db_subnet_group_description, subnet_ids, db_subnet_group_name=None, tags=None)

Bases: object

Properties for defining a CfnDBSubnetGroup.

Parameters:
  • db_subnet_group_description (str) – Provides the description of the DB subnet group.

  • subnet_ids (Sequence[str]) – The Amazon EC2 subnet IDs for the DB subnet group.

  • db_subnet_group_name (Optional[str]) – The name of the DB subnet group.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags that you want to attach to the DB subnet group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_neptune as neptune

cfn_dBSubnet_group_props = neptune.CfnDBSubnetGroupProps(
    db_subnet_group_description="dbSubnetGroupDescription",
    subnet_ids=["subnetIds"],

    # the properties below are optional
    db_subnet_group_name="dbSubnetGroupName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

db_subnet_group_description

Provides the description of the DB subnet group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-dbsubnetgroupdescription

db_subnet_group_name

The name of the DB subnet group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-dbsubnetgroupname

subnet_ids

The Amazon EC2 subnet IDs for the DB subnet group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-subnetids

tags

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-dbsubnetgroup.html#cfn-neptune-dbsubnetgroup-tags