Skip to content

aws.apigatewayv2-api-mapping resource

Description

ApiMapping manages the mapping from a custom domain name path to one stage of an API Gateway v2 API. API Gateway addresses a mapping by its generated mapping id plus the domain name, so both values are recorded for later reads and deletes. Moving a mapping to another API or domain creates a new mapping; the mapping key and stage update in place.

Source: internal/service/apigatewayv2/api_mapping_rsrc.go:17

Example usage:

imports: {
  aws: 'github.com/cloudboss/unobin-library-aws'
}

resources: {
  example: aws.apigatewayv2-api-mapping {
    # Set input fields here.
  }
}

Inputs

api-id

string

required

domain-name

string

required

stage

string

required

api-mapping-key

optional(string)

Input Constraints

This kind declares no extra input constraints.

Outputs

api-mapping-id

string

domain-name

string