VpcContextResponse

class aws_cdk.cx_api.VpcContextResponse(*, availability_zones, vpc_id, isolated_subnet_ids=None, isolated_subnet_names=None, isolated_subnet_route_table_ids=None, private_subnet_ids=None, private_subnet_names=None, private_subnet_route_table_ids=None, public_subnet_ids=None, public_subnet_names=None, public_subnet_route_table_ids=None, subnet_groups=None, vpc_cidr_block=None, vpn_gateway_id=None)

Bases: object

Properties of a discovered VPC.

Parameters
  • availability_zones (Sequence[str]) – AZs.

  • vpc_id (str) – VPC id.

  • isolated_subnet_ids (Optional[Sequence[str]]) – IDs of all isolated subnets. Element count: #(availabilityZones) · #(isolatedGroups)

  • isolated_subnet_names (Optional[Sequence[str]]) – Name of isolated subnet groups. Element count: #(isolatedGroups)

  • isolated_subnet_route_table_ids (Optional[Sequence[str]]) – Route Table IDs of isolated subnet groups. Element count: #(availabilityZones) · #(isolatedGroups)

  • private_subnet_ids (Optional[Sequence[str]]) – IDs of all private subnets. Element count: #(availabilityZones) · #(privateGroups)

  • private_subnet_names (Optional[Sequence[str]]) – Name of private subnet groups. Element count: #(privateGroups)

  • private_subnet_route_table_ids (Optional[Sequence[str]]) – Route Table IDs of private subnet groups. Element count: #(availabilityZones) · #(privateGroups)

  • public_subnet_ids (Optional[Sequence[str]]) – IDs of all public subnets. Element count: #(availabilityZones) · #(publicGroups)

  • public_subnet_names (Optional[Sequence[str]]) – Name of public subnet groups. Element count: #(publicGroups)

  • public_subnet_route_table_ids (Optional[Sequence[str]]) – Route Table IDs of public subnet groups. Element count: #(availabilityZones) · #(publicGroups)

  • subnet_groups (Optional[Sequence[VpcSubnetGroup]]) – The subnet groups discovered for the given VPC. Unlike the above properties, this will include asymmetric subnets, if the VPC has any. This property will only be populated if {@link VpcContextQuery.returnAsymmetricSubnets} is true. Default: - no subnet groups will be returned unless {@link VpcContextQuery.returnAsymmetricSubnets} is true

  • vpc_cidr_block (Optional[str]) – VPC cidr. Default: - CIDR information not available

  • vpn_gateway_id (Optional[str]) – The VPN gateway ID.

Attributes

availability_zones

AZs.

Return type

List[str]

isolated_subnet_ids

IDs of all isolated subnets.

Element count: #(availabilityZones) · #(isolatedGroups)

Return type

Optional[List[str]]

isolated_subnet_names

Name of isolated subnet groups.

Element count: #(isolatedGroups)

Return type

Optional[List[str]]

isolated_subnet_route_table_ids

Route Table IDs of isolated subnet groups.

Element count: #(availabilityZones) · #(isolatedGroups)

Return type

Optional[List[str]]

private_subnet_ids

IDs of all private subnets.

Element count: #(availabilityZones) · #(privateGroups)

Return type

Optional[List[str]]

private_subnet_names

Name of private subnet groups.

Element count: #(privateGroups)

Return type

Optional[List[str]]

private_subnet_route_table_ids

Route Table IDs of private subnet groups.

Element count: #(availabilityZones) · #(privateGroups)

Return type

Optional[List[str]]

public_subnet_ids

IDs of all public subnets.

Element count: #(availabilityZones) · #(publicGroups)

Return type

Optional[List[str]]

public_subnet_names

Name of public subnet groups.

Element count: #(publicGroups)

Return type

Optional[List[str]]

public_subnet_route_table_ids

Route Table IDs of public subnet groups.

Element count: #(availabilityZones) · #(publicGroups)

Return type

Optional[List[str]]

subnet_groups

The subnet groups discovered for the given VPC.

Unlike the above properties, this will include asymmetric subnets, if the VPC has any. This property will only be populated if {@link VpcContextQuery.returnAsymmetricSubnets} is true.

Default
  • no subnet groups will be returned unless {@link VpcContextQuery.returnAsymmetricSubnets} is true

Return type

Optional[List[VpcSubnetGroup]]

vpc_cidr_block

VPC cidr.

Default
  • CIDR information not available

Return type

Optional[str]

vpc_id

VPC id.

Return type

str

vpn_gateway_id

The VPN gateway ID.

Return type

Optional[str]