Class: Aws::CloudFront::Types::UpdateCachePolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_policy_configTypes::CachePolicyConfig

A cache policy configuration.



12355
12356
12357
12358
12359
12360
12361
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 12355

class UpdateCachePolicyRequest < Struct.new(
  :cache_policy_config,
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's CachePolicyId field in the response to GetDistributionConfig.

Returns:

  • (String)


12355
12356
12357
12358
12359
12360
12361
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 12355

class UpdateCachePolicyRequest < Struct.new(
  :cache_policy_config,
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end

#if_matchString

The version of the cache policy that you are updating. The version is returned in the cache policy's ETag field in the response to GetCachePolicyConfig.

Returns:

  • (String)


12355
12356
12357
12358
12359
12360
12361
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 12355

class UpdateCachePolicyRequest < Struct.new(
  :cache_policy_config,
  :id,
  :if_match)
  SENSITIVE = []
  include Aws::Structure
end