Class: Aws::CloudFront::Types::FunctionAssociation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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

Instance Attribute Details

#event_typeString

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.

Returns:

  • (String)


4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 4514

class FunctionAssociation < Struct.new(
  :function_arn,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end

#function_arnString

The Amazon Resource Name (ARN) of the function.

Returns:

  • (String)


4514
4515
4516
4517
4518
4519
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 4514

class FunctionAssociation < Struct.new(
  :function_arn,
  :event_type)
  SENSITIVE = []
  include Aws::Structure
end