Class: Aws::CloudFront::Types::FunctionAssociation
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::FunctionAssociation
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
A CloudFront function that is associated with a cache behavior in a CloudFront distribution.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event_type ⇒ String
The event type of the function, either ‘viewer-request` or `viewer-response`.
-
#function_arn ⇒ String
The Amazon Resource Name (ARN) of the function.
Instance Attribute Details
#event_type ⇒ String
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.
4556 4557 4558 4559 4560 4561 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 4556 class FunctionAssociation < Struct.new( :function_arn, :event_type) SENSITIVE = [] include Aws::Structure end |
#function_arn ⇒ String
The Amazon Resource Name (ARN) of the function.
4556 4557 4558 4559 4560 4561 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 4556 class FunctionAssociation < Struct.new( :function_arn, :event_type) SENSITIVE = [] include Aws::Structure end |