CfnDBSubnetGroupProps

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

Bases: object

Properties for defining a AWS::Neptune::DBSubnetGroup.

Parameters
  • db_subnet_group_description (str) – AWS::Neptune::DBSubnetGroup.DBSubnetGroupDescription.

  • db_subnet_group_name (Optional[str]) – AWS::Neptune::DBSubnetGroup.DBSubnetGroupName.

  • subnet_ids (Sequence[str]) – AWS::Neptune::DBSubnetGroup.SubnetIds.

  • tags (Optional[Sequence[CfnTag]]) – AWS::Neptune::DBSubnetGroup.Tags.

Link

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

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

AWS::Neptune::DBSubnetGroup.DBSubnetGroupDescription.

Link

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

Return type

str

db_subnet_group_name

AWS::Neptune::DBSubnetGroup.DBSubnetGroupName.

Link

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

Return type

Optional[str]

subnet_ids

AWS::Neptune::DBSubnetGroup.SubnetIds.

Link

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

Return type

List[str]

tags

AWS::Neptune::DBSubnetGroup.Tags.

Link

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

Return type

Optional[List[CfnTag]]