ModelReference
- class aws_cdk.aws_apigatewayv2.ModelReference(*, api_id, model_id)
Bases:
object
A reference to a Model resource.
- Parameters:
api_id (
str
) – The ApiId of the Model resource.model_id (
str
) – The ModelId of the Model resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_apigatewayv2 as apigatewayv2 model_reference = apigatewayv2.ModelReference( api_id="apiId", model_id="modelId" )
Attributes
- api_id
The ApiId of the Model resource.
- model_id
The ModelId of the Model resource.