Skip to content
v2.274.0

ModelReference Struct ​

A reference to a Model resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as interfaces_apigatewayv2 } from 'aws-cdk-lib/interfaces';
const modelReference: interfaces_apigatewayv2.ModelReference = {
  apiId: 'apiId',
  modelId: 'modelId',
};

Properties ​

apiIdstringapi_idstrapiIdStringApiIdstringApiId*stringrequired#
The ApiId of the Model resource.
modelIdstringmodel_idstrmodelIdStringModelIdstringModelId*stringrequired#
The ModelId of the Model resource.