interface CfnModelV2Props
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.APIGateway.CfnModelV2Props |
Java | software.amazon.awscdk.services.apigateway.CfnModelV2Props |
Python | aws_cdk.aws_apigateway.CfnModelV2Props |
TypeScript (source) | @aws-cdk/aws-apigateway » CfnModelV2Props |
⚠️ Deprecated: moved to package aws-apigatewayv2
Properties for defining a AWS::ApiGatewayV2::Model
.
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 * as apigateway from '@aws-cdk/aws-apigateway';
declare const schema: any;
const cfnModelV2Props: apigateway.CfnModelV2Props = {
apiId: 'apiId',
name: 'name',
schema: schema,
// the properties below are optional
contentType: 'contentType',
description: 'description',
};
Properties
Name | Type | Description |
---|---|---|
api | string | AWS::ApiGatewayV2::Model.ApiId . |
name | string | AWS::ApiGatewayV2::Model.Name . |
schema | any | AWS::ApiGatewayV2::Model.Schema . |
content | string | AWS::ApiGatewayV2::Model.ContentType . |
description? | string | AWS::ApiGatewayV2::Model.Description . |
apiId
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Model.ApiId
.
name
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
AWS::ApiGatewayV2::Model.Name
.
schema
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
any
AWS::ApiGatewayV2::Model.Schema
.
contentType?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Model.ContentType
.
description?
⚠️ Deprecated: moved to package aws-apigatewayv2
Type:
string
(optional)
AWS::ApiGatewayV2::Model.Description
.