LambdaFunctionAssociations class
A complex type that specifies a list of Lambda functions associations for a cache behavior.
If you want to invoke one or more Lambda functions triggered by requests
that match the PathPattern
of the cache behavior, specify the
applicable values for Quantity
and Items
. Note
that there can be up to 4 LambdaFunctionAssociation
items in
this list (one for each possible value of EventType
) and each
EventType
can be associated with the Lambda function only once.
If you don't want to invoke any Lambda functions for the requests that match
PathPattern
, specify 0
for Quantity
and omit Items
.
Constructors
-
LambdaFunctionAssociations({required int quantity, List<
LambdaFunctionAssociation> ? items}) - LambdaFunctionAssociations.fromXml(XmlElement elem)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
LambdaFunctionAssociation> ? -
Optional: A complex type that contains
LambdaFunctionAssociation
items for this cache behavior. IfQuantity
is0
, you can omitItems
.final - quantity → int
-
The number of Lambda function associations for this cache behavior.
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