CfnVPCGatewayAttachmentProps

class aws_cdk.aws_ec2.CfnVPCGatewayAttachmentProps(*, vpc_id, internet_gateway_id=None, vpn_gateway_id=None)

Bases: object

__init__(*, vpc_id, internet_gateway_id=None, vpn_gateway_id=None)

Properties for defining a AWS::EC2::VPCGatewayAttachment.

Parameters
  • vpc_id (str) – AWS::EC2::VPCGatewayAttachment.VpcId.

  • internet_gateway_id (Optional[str]) – AWS::EC2::VPCGatewayAttachment.InternetGatewayId.

  • vpn_gateway_id (Optional[str]) – AWS::EC2::VPCGatewayAttachment.VpnGatewayId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html

Attributes

internet_gateway_id

AWS::EC2::VPCGatewayAttachment.InternetGatewayId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-internetgatewayid

Return type

Optional[str]

vpc_id

AWS::EC2::VPCGatewayAttachment.VpcId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-vpcid

Return type

str

vpn_gateway_id

AWS::EC2::VPCGatewayAttachment.VpnGatewayId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-vpngatewayid

Return type

Optional[str]