interface ModelReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.Apigatewayv2.ModelReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsapigatewayv2#ModelReference |
Java | software.amazon.awscdk.interfaces.apigatewayv2.ModelReference |
Python | aws_cdk.interfaces.aws_apigatewayv2.ModelReference |
TypeScript | aws-cdk-lib » interfaces » aws_apigatewayv2 » ModelReference |
A reference to a Model resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as interfaces_aws_apigatewayv2 } from 'aws-cdk-lib/interfaces';
const modelReference: interfaces_aws_apigatewayv2.ModelReference = {
apiId: 'apiId',
modelId: 'modelId',
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | The ApiId of the Model resource. |
| model | string | The ModelId of the Model resource. |
apiId
Type:
string
The ApiId of the Model resource.
modelId
Type:
string
The ModelId of the Model resource.

.NET
Go
Java
Python
TypeScript