VPCReference

class aws_cdk.aws_ec2.VPCReference(*, vpc_id)

Bases: object

A reference to a VPC resource.

Parameters:

vpc_id (str) – The VpcId of the VPC resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

v_pCReference = ec2.VPCReference(
    vpc_id="vpcId"
)

Attributes

vpc_id

The VpcId of the VPC resource.