This is a CloudFormation template written in YAML format. It creates a REST API using Amazon API Gateway with a VPC Link integration. It also creates an endpoint for the API Gateway and a DomainName record set group using AWS Route53.
The parameters section allows the user to specify the environment to be deployed (prod, stage, or dev), the NLB Domain Name, the API Gateway domain, the type of Amazon API Gateway domain name, and the hosted zone ID of the given domain name.
The resources section creates the REST API endpoint, HTTP methods for the REST API, a VPC Link that integrates with the NLB Internal Arn, a DomainName record set group, and a mapping between the API Gateway and stage.
The outputs section lists the API Gateway endpoint to be used during tests.