interface CfnCarrierGatewayProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnCarrierGatewayProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnCarrierGatewayProps |
Java | software.amazon.awscdk.services.ec2.CfnCarrierGatewayProps |
Python | aws_cdk.aws_ec2.CfnCarrierGatewayProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnCarrierGatewayProps |
Properties for defining a CfnCarrierGateway
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnCarrierGatewayProps: ec2.CfnCarrierGatewayProps = {
vpcId: 'vpcId',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
vpc | string | The ID of the VPC associated with the carrier gateway. |
tags? | Cfn [] | The tags assigned to the carrier gateway. |
vpcId
Type:
string
The ID of the VPC associated with the carrier gateway.
tags?
Type:
Cfn
[]
(optional)
The tags assigned to the carrier gateway.