LambdaFunctionAssociation

class aws_cdk.aws_cloudfront.LambdaFunctionAssociation(*, event_type, lambda_function)

Bases: object

__init__(*, event_type, lambda_function)
Parameters
  • event_type (LambdaEdgeEventType) – The lambda event type defines at which event the lambda is called during the request lifecycle.

  • lambda_function (IVersion) – A version of the lambda to associate.

stability :stability: experimental

Attributes

event_type

The lambda event type defines at which event the lambda is called during the request lifecycle.

stability :stability: experimental

Return type

LambdaEdgeEventType

lambda_function

A version of the lambda to associate.

stability :stability: experimental

Return type

IVersion