VpcSubnetGroup

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

Bases: object

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 (Sequence[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.

Attributes

name

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

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.

Return type

List[VpcSubnet]

type

The type of the subnet group.

Return type

VpcSubnetGroupType