AWS::EC2::CarrierGatewayResource Type definition for Carrier Gateway which describes the Carrier Gateway resource
2 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
VpcId | string | RequiredCreate-only |
Tags | array |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CarrierGatewayId | string | The ID of the carrier gateway. |
OwnerId | string | The ID of the owner. |
State | string | The state of the carrier gateway. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::CarrierGateway
Resources:
MyResource:
Type: AWS::EC2::CarrierGateway
Properties:
VpcId: "my-vpcid"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateCarrierGatewayec2:DescribeCarrierGatewaysec2:CreateTagsec2:DescribeCarrierGatewaysec2:DescribeTagsec2:DescribeCarrierGatewaysec2:CreateTagsec2:DeleteTagsec2:DescribeTagsec2:DeleteCarrierGatewayec2:DescribeCarrierGatewaysec2:DeleteTagsec2:DescribeCarrierGatewaysEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicCarrierGatewayIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
VpcId