---
type: resource-type
title: Apigwv2Model
description: aws resource type AWS::ApiGatewayV2::Model
name: Apigwv2Model
lexicon: aws
resource_type: AWS::ApiGatewayV2::Model
---
`AWS::ApiGatewayV2::Model`, a resource type of the aws lexicon.

## Properties

- `ApiId` (`string`, required): The API identifier.
- `Name` (`string`, required): The name of the model.
- `Schema` (`Record<string, unknown>`, required): The schema for the model. For application/json models, this should be JSON schema draft 4 model.
- `ContentType` (`string`, optional): The content-type for the model, for example, "application/json".
- `Description` (`string`, optional): The description of the model.
- `ModelId` (`string`, optional)

## Attributes

- `ModelId`
