ModelArgs

data class ModelArgs(val apiId: Output<String>? = null, val contentType: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val schema: Output<Any>? = null) : ConvertibleToJava<ModelArgs>

The `AWS::ApiGatewayV2::Model` resource updates data model for a WebSocket API. For more information, see Model Selection Expressions in the API Gateway Developer Guide.

Constructors

Link copied to clipboard
constructor(apiId: Output<String>? = null, contentType: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, schema: Output<Any>? = null)

Properties

Link copied to clipboard
val apiId: Output<String>? = null

The API identifier.

Link copied to clipboard
val contentType: Output<String>? = null

The content-type for the model, for example, "application/json".

Link copied to clipboard
val description: Output<String>? = null

The description of the model.

Link copied to clipboard
val name: Output<String>? = null

The name of the model.

Link copied to clipboard
val schema: Output<Any>? = null

The schema for the model. For application/json models, this should be JSON schema draft 4 model. Search the CloudFormation User Guide for AWS::ApiGatewayV2::Model for more information about the expected schema for this property.

Functions

Link copied to clipboard
open override fun toJava(): ModelArgs