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.



12378
12379
12380
12381
12382
12383
12384
# File 'lib/aws-sdk-cloudfront/types.rb', line 12378

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)


12378
12379
12380
12381
12382
12383
12384
# File 'lib/aws-sdk-cloudfront/types.rb', line 12378

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)


12378
12379
12380
12381
12382
12383
12384
# File 'lib/aws-sdk-cloudfront/types.rb', line 12378

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