CfnVPCGatewayAttachmentMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCGatewayAttachmentMixinProps(*, internet_gateway_id=None, vpc_id=None, vpn_gateway_id=None)
Bases:
objectProperties for CfnVPCGatewayAttachmentPropsMixin.
- Parameters:
internet_gateway_id (
Optional[str]) – The ID of the internet gateway. You must specify eitherInternetGatewayIdorVpnGatewayId, 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 eitherInternetGatewayIdorVpnGatewayId, but not both.
- See:
- 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
InternetGatewayIdorVpnGatewayId, but not both.
- vpc_id
The ID of the VPC.
- vpn_gateway_id
The ID of the virtual private gateway.
You must specify either
InternetGatewayIdorVpnGatewayId, but not both.