aws-cdk-lib.aws_ec2.CfnInternetGatewayProps

interface CfnInternetGatewayProps

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

Properties for defining a CfnInternetGateway.

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 cfnInternetGatewayProps: ec2.CfnInternetGatewayProps = {
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
tags?CfnTag[]Any tags to assign to the internet gateway.

tags?

Type: CfnTag[] (optional)

Any tags to assign to the internet gateway.