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

__init__(*, 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)

Properties of a discovered VPC.

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

  • vpc_id (str) – VPC id.

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

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

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

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

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

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

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

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

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

  • subnet_groups (Optional[List[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.

stability :stability: experimental

Return type

None

Attributes

availability_zones

AZs.

stability :stability: experimental

Return type

List[str]

isolated_subnet_ids

IDs of all isolated subnets.

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

stability :stability: experimental

Return type

Optional[List[str]]

isolated_subnet_names

Name of isolated subnet groups.

Element count: #(isolatedGroups)

stability :stability: experimental

Return type

Optional[List[str]]

isolated_subnet_route_table_ids

Route Table IDs of isolated subnet groups.

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

stability :stability: experimental

Return type

Optional[List[str]]

private_subnet_ids

IDs of all private subnets.

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

stability :stability: experimental

Return type

Optional[List[str]]

private_subnet_names

Name of private subnet groups.

Element count: #(privateGroups)

stability :stability: experimental

Return type

Optional[List[str]]

private_subnet_route_table_ids

Route Table IDs of private subnet groups.

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

stability :stability: experimental

Return type

Optional[List[str]]

public_subnet_ids

IDs of all public subnets.

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

stability :stability: experimental

Return type

Optional[List[str]]

public_subnet_names

Name of public subnet groups.

Element count: #(publicGroups)

stability :stability: experimental

Return type

Optional[List[str]]

public_subnet_route_table_ids

Route Table IDs of public subnet groups.

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

stability :stability: experimental

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 :default: - no subnet groups will be returned unless {@link VpcContextQuery.returnAsymmetricSubnets} is true

stability :stability: experimental

Return type

Optional[List[VpcSubnetGroup]]

vpc_cidr_block

VPC cidr.

default :default: - CIDR information not available

stability :stability: experimental

Return type

Optional[str]

vpc_id

VPC id.

stability :stability: experimental

Return type

str

vpn_gateway_id

The VPN gateway ID.

stability :stability: experimental

Return type

Optional[str]