Class: Aws::CloudFront::Types::FunctionAssociations

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass FunctionAssociations data as a hash:

{
  quantity: 1, # required
  items: [
    {
      function_arn: "FunctionARN", # required
      event_type: "viewer-request", # required, accepts viewer-request, viewer-response, origin-request, origin-response
    },
  ],
}

A list of CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the ‘LIVE` stage to associate them with a cache behavior.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Types::FunctionAssociation>

The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront functions must be published to the ‘LIVE` stage to associate them with a cache behavior.

Returns:



6068
6069
6070
6071
6072
6073
# File 'lib/aws-sdk-cloudfront/types.rb', line 6068

class FunctionAssociations < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end

#quantityInteger

The number of CloudFront functions in the list.

Returns:

  • (Integer)


6068
6069
6070
6071
6072
6073
# File 'lib/aws-sdk-cloudfront/types.rb', line 6068

class FunctionAssociations < Struct.new(
  :quantity,
  :items)
  SENSITIVE = []
  include Aws::Structure
end