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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



12926
12927
12928
12929
12930
12931
12932
# File 'lib/aws-sdk-cloudfront/types.rb', line 12926

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)


12926
12927
12928
12929
12930
12931
12932
# File 'lib/aws-sdk-cloudfront/types.rb', line 12926

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)


12926
12927
12928
12929
12930
12931
12932
# File 'lib/aws-sdk-cloudfront/types.rb', line 12926

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