FunctionEventType

class aws_cdk.aws_cloudfront.FunctionEventType(value)

Bases: enum.Enum

The type of events that a CloudFront function can be invoked in response to.

Attributes

VIEWER_REQUEST

The viewer-request specifies the incoming request.

VIEWER_RESPONSE

The viewer-response specifies the outgoing response.