AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::VpcLattice::ResourceGateway

CfnResourceGateway

A resource gateway is a point of ingress into the VPC where a resource resides. It spans multiple Availability Zones. For your resource to be accessible from all Availability Zones, you should create your resource gateways to span as many Availability Zones as possible. A VPC can have multiple resource gateways.

Import

import { CfnResourceGateway } from 'aws-cdk-lib/aws-vpclattice';

Or use the module namespace:

import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnResourceGateway

Properties

Configuration passed to the constructor as CfnResourceGatewayProps.

nameRequired
string

The name of the resource gateway.

subnetIdsRequired
string | ISubnetRef[]

The IDs of the VPC subnets for the resource gateway.

vpcIdentifierRequired
string

The ID of the VPC for the resource gateway.

ipAddressTypeOptional
string

The type of IP address used by the resource gateway.

ipv4AddressesPerEniOptional
number

The number of IPv4 addresses in each ENI for the resource gateway.

securityGroupIdsOptional
string | ISecurityGroupRef[]

The IDs of the security groups applied to the resource gateway.

tagsOptional
CfnTag[]

The tags for the resource gateway.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter