aws-cdk-lib.aws_ec2.CfnEgressOnlyInternetGatewayProps

interface CfnEgressOnlyInternetGatewayProps

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

Properties for defining a CfnEgressOnlyInternetGateway.

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 cfnEgressOnlyInternetGatewayProps: ec2.CfnEgressOnlyInternetGatewayProps = {
  vpcId: 'vpcId',
};

Properties

NameTypeDescription
vpcIdstringThe ID of the VPC for which to create the egress-only internet gateway.

vpcId

Type: string

The ID of the VPC for which to create the egress-only internet gateway.