---
type: resource-type
title: Method
description: aws resource type AWS::ApiGateway::Method
name: Method
lexicon: aws
resource_type: AWS::ApiGateway::Method
---
`AWS::ApiGateway::Method`, a resource type of the aws lexicon.

## Properties

- `HttpMethod` (`string`, required)
- `ResourceId` (`string`, required)
- `RestApiId` (`string`, required)
- `ApiKeyRequired` (`boolean`, optional)
- `AuthorizationScopes` (`string[]`, optional)
- `AuthorizationType` (`string`, optional): The method's authorization type. This parameter is required. For valid values, see [Method](https://docs.aws.amazon.com/apigateway/latest/api/API_Method.html) in the *API Gateway API Reference*. If you specify the ``AuthorizerId`` property, specify ``CUSTOM`` or ``COGNITO_USER_POOLS`` for this property.
- `AuthorizerId` (`string`, optional)
- `Integration` (`Method_Integration`, optional)
- `MethodResponses` (`Method_MethodResponse[]`, optional)
- `OperationName` (`string`, optional)
- `RequestModels` (`Record<string, unknown>`, optional)
- `RequestParameters` (`Record<string, unknown>`, optional)
- `RequestValidatorId` (`string`, optional)

## Governed by

- [WAW030](/rules/WAW030.md): Missing DependsOn for known CloudFormation ordering patterns
