aws-cdk-lib.aws_ec2.CfnCarrierGatewayProps

interface CfnCarrierGatewayProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnCarrierGatewayProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnCarrierGatewayProps
Javasoftware.amazon.awscdk.services.ec2.CfnCarrierGatewayProps
Pythonaws_cdk.aws_ec2.CfnCarrierGatewayProps
TypeScript aws-cdk-lib » aws_ec2 » CfnCarrierGatewayProps

Properties for defining a CfnCarrierGateway.

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

NameTypeDescription
vpcIdstringThe ID of the VPC associated with the carrier gateway.
tags?CfnTag[]The tags assigned to the carrier gateway.

vpcId

Type: string

The ID of the VPC associated with the carrier gateway.


tags?

Type: CfnTag[] (optional)

The tags assigned to the carrier gateway.