SubnetGroupProps

class aws_cdk.aws_neptune.SubnetGroupProps(*, vpc, description=None, removal_policy=None, subnet_group_name=None, vpc_subnets=None)

Bases: object

(experimental) Properties for creating a SubnetGroup.

Parameters
  • vpc (IVpc) – (experimental) The VPC to place the subnet group in.

  • description (Optional[str]) – (experimental) Description of the subnet group. Default: - a name is generated

  • removal_policy (Optional[RemovalPolicy]) – (experimental) The removal policy to apply when the subnet group are removed from the stack or replaced during an update. Default: RemovalPolicy.DESTROY

  • subnet_group_name (Optional[str]) – (experimental) The name of the subnet group. Default: - a name is generated

  • vpc_subnets (Optional[SubnetSelection]) – (experimental) Which subnets within the VPC to associate with this group. Default: - private subnets

Stability

experimental

Attributes

description

(experimental) Description of the subnet group.

Default
  • a name is generated

Stability

experimental

Return type

Optional[str]

removal_policy

(experimental) The removal policy to apply when the subnet group are removed from the stack or replaced during an update.

Default

RemovalPolicy.DESTROY

Stability

experimental

Return type

Optional[RemovalPolicy]

subnet_group_name

(experimental) The name of the subnet group.

Default
  • a name is generated

Stability

experimental

Return type

Optional[str]

vpc

(experimental) The VPC to place the subnet group in.

Stability

experimental

Return type

IVpc

vpc_subnets

(experimental) Which subnets within the VPC to associate with this group.

Default
  • private subnets

Stability

experimental

Return type

Optional[SubnetSelection]