CfnModelV2Props
- class aws_cdk.aws_apigateway.CfnModelV2Props(*, api_id, name, schema, content_type=None, description=None)
Bases:
object(deprecated) Properties for defining a
AWS::ApiGatewayV2::Model.- Parameters:
api_id (
str) – (deprecated)AWS::ApiGatewayV2::Model.ApiId.name (
str) – (deprecated)AWS::ApiGatewayV2::Model.Name.schema (
Any) – (deprecated)AWS::ApiGatewayV2::Model.Schema.content_type (
Optional[str]) – (deprecated)AWS::ApiGatewayV2::Model.ContentType.description (
Optional[str]) – (deprecated)AWS::ApiGatewayV2::Model.Description.
- Deprecated:
moved to package aws-apigatewayv2
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
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: Any 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.
- content_type
(deprecated)
AWS::ApiGatewayV2::Model.ContentType.
- description
(deprecated)
AWS::ApiGatewayV2::Model.Description.
- name
(deprecated)
AWS::ApiGatewayV2::Model.Name.
- schema
(deprecated)
AWS::ApiGatewayV2::Model.Schema.