HttpMethod

class aws_cdk.aws_lambda.HttpMethod(value)

Bases: Enum

All http request methods.

Attributes

ALL

The wildcard entry to allow all methods.

DELETE

The DELETE method deletes the specified resource.

GET

The GET method requests a representation of the specified resource.

HEAD

The HEAD method asks for a response identical to that of a GET request, but without the response body.

OPTIONS

The OPTIONS method describes the communication options for the target resource.

PATCH

The PATCH method applies partial modifications to a resource.

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.

PUT

The PUT method replaces all current representations of the target resource with the request payload.