CfnModelV2Props

class aws_cdk.aws_apigateway.CfnModelV2Props(*, api_id, name, schema, content_type=None, description=None)

Bases: object

__init__(*, api_id, name, schema, content_type=None, description=None)

Properties for defining a AWS::ApiGatewayV2::Model.

Parameters
  • api_id (str) – AWS::ApiGatewayV2::Model.ApiId.

  • name (str) – AWS::ApiGatewayV2::Model.Name.

  • schema (Any) – AWS::ApiGatewayV2::Model.Schema.

  • content_type (Optional[str]) – AWS::ApiGatewayV2::Model.ContentType.

  • description (Optional[str]) – AWS::ApiGatewayV2::Model.Description.

deprecated :deprecated: moved to package aws-apigatewayv2

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html stability :stability: deprecated

Return type

None

Attributes

api_id

AWS::ApiGatewayV2::Model.ApiId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-apiid stability :stability: deprecated

Return type

str

content_type

AWS::ApiGatewayV2::Model.ContentType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-contenttype stability :stability: deprecated

Return type

Optional[str]

description

AWS::ApiGatewayV2::Model.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-description stability :stability: deprecated

Return type

Optional[str]

name

AWS::ApiGatewayV2::Model.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-name stability :stability: deprecated

Return type

str

schema

AWS::ApiGatewayV2::Model.Schema.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html#cfn-apigatewayv2-model-schema stability :stability: deprecated

Return type

Any