VPCGatewayAttachmentReference

class aws_cdk.aws_ec2.VPCGatewayAttachmentReference(*, attachment_type, vpc_id)

Bases: object

A reference to a VPCGatewayAttachment resource.

Parameters:
  • attachment_type (str) – The AttachmentType of the VPCGatewayAttachment resource.

  • vpc_id (str) – The VpcId of the VPCGatewayAttachment 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_pCGateway_attachment_reference = ec2.VPCGatewayAttachmentReference(
    attachment_type="attachmentType",
    vpc_id="vpcId"
)

Attributes

attachment_type

The AttachmentType of the VPCGatewayAttachment resource.

vpc_id

The VpcId of the VPCGatewayAttachment resource.