awscc.ec2.egress_only_internet_gateway
CloudFormation Type: AWS::EC2::EgressOnlyInternetGateway
Resource Type definition for AWS::EC2::EgressOnlyInternetGateway
Example
let vpc = awscc.ec2.vpc {
cidr_block = "10.0.0.0/16"
}
awscc.ec2.egress_only_internet_gateway {
vpc_id = vpc.vpc_id
tags = {
Environment = "example"
}
}
Argument Reference
tags
- Type: Map
- Required: No
Any tags assigned to the egress only internet gateway.
vpc_id
- Type: VpcId
- Required: Yes
The ID of the VPC for which to create the egress-only internet gateway.
Attribute Reference
id
- Type: EgressOnlyInternetGatewayId