CfnModelProps

class aws_cdk.aws_apigateway.CfnModelProps(*, rest_api_id, content_type=None, description=None, name=None, schema=None)

Bases: object

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

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

Parameters
  • rest_api_id (str) – AWS::ApiGateway::Model.RestApiId.

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

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

  • name (Optional[str]) – AWS::ApiGateway::Model.Name.

  • schema (Optional[Any]) – AWS::ApiGateway::Model.Schema.

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

Attributes

content_type

AWS::ApiGateway::Model.ContentType.

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

Return type

Optional[str]

description

AWS::ApiGateway::Model.Description.

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

Return type

Optional[str]

name

AWS::ApiGateway::Model.Name.

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

Return type

Optional[str]

rest_api_id

AWS::ApiGateway::Model.RestApiId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html#cfn-apigateway-model-restapiid

Return type

str

schema

AWS::ApiGateway::Model.Schema.

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

Return type

Any