FunctionAssociation
A CloudFront function that is associated with a cache behavior in a CloudFront distribution.
Contents
- EventType
- 
               The event type of the function, either viewer-requestorviewer-response. You cannot use origin-facing event types (origin-requestandorigin-response) with a CloudFront function.Type: String Valid Values: viewer-request | viewer-response | origin-request | origin-responseRequired: Yes 
- FunctionARN
- 
               The Amazon Resource Name (ARN) of the function. Type: String Length Constraints: Minimum length of 0. Maximum length of 108. Pattern: arn:aws:cloudfront::[0-9]{12}:function\/[a-zA-Z0-9-_]{1,64}Required: Yes 
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: