# HttpMethod

All http request methods.

- Source: [`aws-lambda/lib/function-url.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-lambda/lib/function-url.ts#L52)
- Type last changed: v2.21.0 · 22 Apr 2022

## Members

| Member | Description |
| --- | --- |
| `GET` | The GET method requests a representation of the specified resource. |
| `PUT` | The PUT method replaces all current representations of the target resource with the request payload. |
| `HEAD` | The HEAD method asks for a response identical to that of a GET request, but without the response body. |
| `POST` | The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server. |
| `DELETE` | The DELETE method deletes the specified resource. |
| `PATCH` | The PATCH method applies partial modifications to a resource. |
| `OPTIONS` | The OPTIONS method describes the communication options for the target resource. |
| `ALL` | The wildcard entry to allow all methods. |

## Referenced by

- [`FunctionUrlCorsOptions`](/v2/docs/aws-cdk-lib.aws_lambda.FunctionUrlCorsOptions).allowedMethods
