CfnVPCGatewayAttachmentMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCGatewayAttachmentMixinProps(*, internet_gateway_id=None, vpc_id=None, vpn_gateway_id=None)

Bases: object

Properties for CfnVPCGatewayAttachmentPropsMixin.

Parameters:
  • internet_gateway_id (Optional[str]) – The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId , but not both.

  • vpc_id (Optional[str]) – The ID of the VPC.

  • vpn_gateway_id (Optional[str]) – The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId , but not both.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html

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.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_vPCGateway_attachment_mixin_props = ec2_mixins.CfnVPCGatewayAttachmentMixinProps(
    internet_gateway_id="internetGatewayId",
    vpc_id="vpcId",
    vpn_gateway_id="vpnGatewayId"
)

Attributes

internet_gateway_id

The ID of the internet gateway.

You must specify either InternetGatewayId or VpnGatewayId , but not both.

See:

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

vpc_id

The ID of the VPC.

See:

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

vpn_gateway_id

The ID of the virtual private gateway.

You must specify either InternetGatewayId or VpnGatewayId , but not both.

See:

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