This template creates an API Gateway VPC link for a REST API to access resources in an Amazon Virtual Private Cloud (VPC). It creates an API Gateway VPC link with the specified description and name. The VPC link is associated with a load balancer and a subnet in the VPC.

MyVpcLink
AWS::ApiGateway::VpcLink


TargetArns

MyLoadBalancer
AWS::ElasticLoadBalancingV2::LoadBalancer


Subnets

MySubnet
AWS::EC2::Subnet


MyVPC
AWS::EC2::VPC


MyInternetGateway
AWS::EC2::InternetGateway


MyInternetGatewayAttachment
AWS::EC2::VPCGatewayAttachment


CloudFormation Template

Share Template