LambdaEdgeEventType

class aws_cdk.aws_cloudfront.LambdaEdgeEventType(value)

Bases: enum.Enum

The type of events that a Lambda@Edge function can be invoked in response to.

Attributes

ORIGIN_REQUEST

The origin-request specifies the request to the origin location (e.g. S3).

ORIGIN_RESPONSE

The origin-response specifies the response from the origin location (e.g. S3).

VIEWER_REQUEST

The viewer-request specifies the incoming request.

VIEWER_RESPONSE

The viewer-response specifies the outgoing response.