LambdaFunctionAssociation class

A complex type that contains a Lambda function association.

Constructors

LambdaFunctionAssociation({required EventType eventType, required String lambdaFunctionARN, bool? includeBody})
LambdaFunctionAssociation.fromXml(XmlElement elem)
factory

Properties

eventType EventType
Specifies the event type that triggers a Lambda function invocation. You can specify the following values:
final
hashCode int
The hash code for this object.
no setterinherited
includeBody bool?
A flag that allows a Lambda function to have read access to the body content. For more information, see Accessing the Request Body by Choosing the Include Body Option in the Amazon CloudFront Developer Guide.
final
lambdaFunctionARN String
The ARN of the Lambda function. You must specify the ARN of a function version; you can't specify a Lambda alias or $LATEST.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXml(String elemName, {List<XmlAttribute>? attributes}) → XmlElement

Operators

operator ==(Object other) bool
The equality operator.
inherited