A gateway VPC endpoint.
import { GatewayVpcEndpoint } from 'aws-cdk-lib/aws-ec2';Or use the module namespace:
import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.GatewayVpcEndpointConfiguration passed to the constructor as GatewayVpcEndpointProps.
vpcRequiredIVpcThe VPC network in which the gateway endpoint will be used.
GatewayVpcEndpointOptionsserviceRequiredinherited from GatewayVpcEndpointOptionsIGatewayVpcEndpointServiceThe service to use for this gateway VPC endpoint.
subnetsOptionalinherited from GatewayVpcEndpointOptionsSubnetSelection[]Where to add endpoint routing. By default, this endpoint will be routable from all subnets in the VPC. Specify a list of subnet selection objects here to be more specific.
Default: - All subnets in the VPC
Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.
Download Free Infographicaws-ec2