CfnApiMappingProps
- class aws_cdk.aws_apigatewayv2.CfnApiMappingProps(*, api_id, domain_name, stage, api_mapping_key=None)
Bases:
object
Properties for defining a
CfnApiMapping
.- Parameters:
api_id (
str
) – The identifier of the API.domain_name (
str
) – The domain name.stage (
str
) – The API stage.api_mapping_key (
Optional
[str
]) – The API mapping key.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_apigatewayv2 as apigatewayv2 cfn_api_mapping_props = apigatewayv2.CfnApiMappingProps( api_id="apiId", domain_name="domainName", stage="stage", # the properties below are optional api_mapping_key="apiMappingKey" )
Attributes
- api_id
The identifier of the API.
- api_mapping_key
The API mapping key.
- domain_name
The domain name.