VpcSubnetGroup

class aws_cdk.cx_api.VpcSubnetGroup(*, name, subnets, type)

Bases: object

__init__(*, name, subnets, type)

A group of subnets returned by the VPC provider.

The included subnets do NOT have to be symmetric!

Parameters
  • name (str) – The name of the subnet group, determined by looking at the tags of of the subnets that belong to it.

  • subnets (List[VpcSubnet]) – The subnets that are part of this group. There is no condition that the subnets have to be symmetric in the group.

  • type (VpcSubnetGroupType) – The type of the subnet group.

stability :stability: experimental

Return type

None

Attributes

name

The name of the subnet group, determined by looking at the tags of of the subnets that belong to it.

stability :stability: experimental

Return type

str

subnets

The subnets that are part of this group.

There is no condition that the subnets have to be symmetric in the group.

stability :stability: experimental

Return type

List[VpcSubnet]

type

The type of the subnet group.

stability :stability: experimental

Return type

VpcSubnetGroupType