interface EgressOnlyInternetGatewayProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ec2.Alpha.EgressOnlyInternetGatewayProps |
Go | github.com/aws/aws-cdk-go/awsec2alpha/v2#EgressOnlyInternetGatewayProps |
Java | software.amazon.awscdk.services.ec2.alpha.EgressOnlyInternetGatewayProps |
Python | aws_cdk.aws_ec2_alpha.EgressOnlyInternetGatewayProps |
TypeScript (source) | @aws-cdk/aws-ec2-alpha » EgressOnlyInternetGatewayProps |
Properties to define an egress-only internet gateway.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2_alpha from '@aws-cdk/aws-ec2-alpha';
declare const vpcV2: ec2_alpha.VpcV2;
const egressOnlyInternetGatewayProps: ec2_alpha.EgressOnlyInternetGatewayProps = {
vpc: vpcV2,
// the properties below are optional
egressOnlyInternetGatewayName: 'egressOnlyInternetGatewayName',
};
Properties
Name | Type | Description |
---|---|---|
vpc | IVpc | The ID of the VPC for which to create the egress-only internet gateway. |
egress | string | The resource name of the egress-only internet gateway. |
vpc
Type:
IVpc
The ID of the VPC for which to create the egress-only internet gateway.
egressOnlyInternetGatewayName?
Type:
string
(optional, default: none)
The resource name of the egress-only internet gateway.