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.

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

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

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

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

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

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

Return type

Any