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.



12945
12946
12947
12948
12949
12950
12951
# File 'lib/aws-sdk-cloudfront/types.rb', line 12945

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)


12945
12946
12947
12948
12949
12950
12951
# File 'lib/aws-sdk-cloudfront/types.rb', line 12945

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)


12945
12946
12947
12948
12949
12950
12951
# File 'lib/aws-sdk-cloudfront/types.rb', line 12945

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