interface CfnModelMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ApiGatewayV2.CfnModelMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsapigatewayv2#CfnModelMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnModelMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_apigatewayv2.CfnModelMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_apigatewayv2 » CfnModelMixinProps |
Properties for CfnModelPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from '@aws-cdk/cfn-property-mixins';
declare const schema: any;
const cfnModelMixinProps: apigatewayv2.CfnModelMixinProps = {
apiId: 'apiId',
contentType: 'contentType',
description: 'description',
name: 'name',
schema: schema,
};
Properties
| Name | Type | Description |
|---|---|---|
| api | string | IApi | The API identifier. |
| content | string | The content-type for the model, for example, "application/json". |
| description? | string | The description of the model. |
| name? | string | The name of the model. |
| schema? | any | The schema for the model. |
apiId?
Type:
string | IApi
(optional)
The API identifier.
contentType?
Type:
string
(optional)
The content-type for the model, for example, "application/json".
description?
Type:
string
(optional)
The description of the model.
name?
Type:
string
(optional)
The name of the model.
schema?
Type:
any
(optional)
The schema for the model.
For application/json models, this should be JSON schema draft 4 model.

.NET
Go
Java
Python
TypeScript