class Aws::CloudFront::Types::FunctionAssociation
A CloudFront
function that is associated with a cache behavior in a CloudFront
distribution.
@note When making an API call, you may pass FunctionAssociation
data as a hash: { function_arn: "FunctionARN", # required event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response }
@!attribute [rw] function_arn
The Amazon Resource Name (ARN) of the function. @return [String]
@!attribute [rw] event_type
The event type of the function, either `viewer-request` or `viewer-response`. You cannot use origin-facing event types (`origin-request` and `origin-response`) with a CloudFront function. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/FunctionAssociation AWS API Documentation
Constants
- SENSITIVE