CfnModelV2Props

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

Bases: object

(deprecated) Properties for defining a AWS::ApiGatewayV2::Model.

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

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

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

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

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

Deprecated

moved to package aws-apigatewayv2

See

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

Stability

deprecated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apigateway as apigateway

# schema is of type object

cfn_model_v2_props = apigateway.CfnModelV2Props(
    api_id="apiId",
    name="name",
    schema=schema,

    # the properties below are optional
    content_type="contentType",
    description="description"
)

Attributes

api_id

(deprecated) AWS::ApiGatewayV2::Model.ApiId.

See

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

Stability

deprecated

Return type

str

content_type

(deprecated) AWS::ApiGatewayV2::Model.ContentType.

See

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

Stability

deprecated

Return type

Optional[str]

description

(deprecated) AWS::ApiGatewayV2::Model.Description.

See

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

Stability

deprecated

Return type

Optional[str]

name

(deprecated) AWS::ApiGatewayV2::Model.Name.

See

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

Stability

deprecated

Return type

str

schema

(deprecated) AWS::ApiGatewayV2::Model.Schema.

See

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

Stability

deprecated

Return type

Any