AWS::VpcLattice::ResourceGatewayA 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 { CfnResourceGateway } from 'aws-cdk-lib/aws-vpclattice';Or use the module namespace:
import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnResourceGatewayConfiguration passed to the constructor as CfnResourceGatewayProps.
nameRequiredstringThe name of the resource gateway.
subnetIdsRequiredstring | ISubnetRef[]The IDs of the VPC subnets for the resource gateway.
vpcIdentifierRequiredstringThe ID of the VPC for the resource gateway.
ipAddressTypeOptionalstringThe type of IP address used by the resource gateway.
ipv4AddressesPerEniOptionalnumberThe number of IPv4 addresses in each ENI for the resource gateway.
securityGroupIdsOptionalstring | ISecurityGroupRef[]The IDs of the security groups applied to the resource gateway.
tagsOptionalCfnTag[]The tags for the resource gateway.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-vpclatticeAWS::VpcLattice::ResourceGateway