Class: Aws::CloudFront::Types::CacheTagConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CacheTagConfig
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
A complex type that specifies the HTTP header name from which
CloudFront extracts cache tags from origin responses. When you add
CacheTagConfig to a distribution, CloudFront reads the specified
header from origin responses, parses the comma-separated tag values,
and stores them with the cached object. You can then invalidate cached
objects by tag using the CreateInvalidation API.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#header_name ⇒ String
The name of the HTTP header that your origin includes in responses.
Instance Attribute Details
#header_name ⇒ String
The name of the HTTP header that your origin includes in responses.
CloudFront uses this header to extract cache tags. The header value
must contain comma-separated tag values (for example,
product:electronics, category:tv, brand:example).
1372 1373 1374 1375 1376 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1372 class CacheTagConfig < Struct.new( :header_name) SENSITIVE = [] include Aws::Structure end |