Class: Model

ApiGateway.Model

new Model()

Properties:
Name Type Description
ContentType String Required: No. The content type for the model.Update requires: Replacement
Description String Required: No. A description that identifies this model.Update requires: No interruption
Name String Required: No. A name for the mode. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the model name. For more information, see Name Type.ImportantIf you specify a name, you cannot do updates that require this resource to be replaced. You can still do updates that require no or some interruption. If you must replace the resource, specify a new name.Update requires: Replacement
RestApiId String Required: Yes. The ID of a REST API with which to associate this model.Update requires: Replacement
Schema Object Required: No. The schema to use to transform data to one or more output formats.Update requires: No interruption
Source:

Extends

  • WKResource

ApiGateway.Model

new Model()

Properties:
Name Type Description
ContentType String Required: No. The content type for the model.Update requires: Replacement
Description String Required: No. A description that identifies this model.Update requires: No interruption
Name String Required: No. A name for the mode. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the model name. For more information, see Name Type.ImportantIf you specify a name, you cannot do updates that require this resource to be replaced. You can still do updates that require no or some interruption. If you must replace the resource, specify a new name.Update requires: Replacement
RestApiId String Required: Yes. The ID of a REST API with which to associate this model.Update requires: Replacement
Schema Object Required: No. The schema to use to transform data to one or more output formats.Update requires: No interruption
Source:

Extends

  • WKResource