Interface FunctionAssociation

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
FunctionAssociation.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:48.519Z") @Stability(Stable) public interface FunctionAssociation extends software.amazon.jsii.JsiiSerializable
Represents a CloudFront function and event type when using CF Functions.

The type of the AddBehaviorOptions.functionAssociations property.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudfront.*;
 Function function_;
 FunctionAssociation functionAssociation = FunctionAssociation.builder()
         .eventType(FunctionEventType.VIEWER_REQUEST)
         .function(function_)
         .build();