Skip to content

Commit a4bc4ed

Browse files
Amazon CloudFront: Amazon CloudFront now supports cache tag. Tag objects via response headers and invalidate all matching objects in a single request, replacing manual URL tracking and broad wildcards.
1 parent e005287 commit a4bc4ed

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon CloudFront",
4+
"contributor": "",
5+
"description": "Amazon CloudFront now supports cache tag. Tag objects via response headers and invalidate all matching objects in a single request, replacing manual URL tracking and broad wildcards."
6+
}

services/cloudfront/src/main/resources/codegen-resources/service-2.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4165,6 +4165,17 @@
41654165
"custom"
41664166
]
41674167
},
4168+
"CacheTagConfig":{
4169+
"type":"structure",
4170+
"required":["HeaderName"],
4171+
"members":{
4172+
"HeaderName":{
4173+
"shape":"string",
4174+
"documentation":"<p>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, <code>product:electronics, category:tv, brand:example</code>).</p>"
4175+
}
4176+
},
4177+
"documentation":"<p>A complex type that specifies the HTTP header name from which CloudFront extracts cache tags from origin responses. When you add <code>CacheTagConfig</code> 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 <code>CreateInvalidation</code> API.</p>"
4178+
},
41684179
"CachedMethods":{
41694180
"type":"structure",
41704181
"required":[
@@ -6916,6 +6927,10 @@
69166927
"ConnectionFunctionAssociation":{
69176928
"shape":"ConnectionFunctionAssociation",
69186929
"documentation":"<p>The distribution's connection function association.</p>"
6930+
},
6931+
"CacheTagConfig":{
6932+
"shape":"CacheTagConfig",
6933+
"documentation":"<p>Configuration for cache tag extraction from origin responses. When specified, CloudFront reads the header named in <code>HeaderName</code> from origin responses and stores the comma-separated values as cache tags on the object.</p> <p>Distributions without <code>CacheTagConfig</code> do not extract tags. When <code>CacheTagConfig</code> is removed from a distribution via <code>UpdateDistribution</code>, CloudFront stops extracting tags from origin responses.</p> <note> <p>Changing the <code>HeaderName</code> on an existing distribution does not retroactively affect previously cached objects. Tag-based invalidations will not apply to objects already cached using a previous header. To ensure tag invalidations function after updating the header name, use path-based invalidations to recache all objects that use cache tags.</p> </note>"
69196934
}
69206935
},
69216936
"documentation":"<p>A distribution configuration.</p>"
@@ -15237,7 +15252,7 @@
1523715252
},
1523815253
"IpamCidrConfigs":{
1523915254
"shape":"IpamCidrConfigList",
15240-
"documentation":"<p> A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list. </p>"
15255+
"documentation":"<p>A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list.</p>"
1524115256
},
1524215257
"IfMatch":{
1524315258
"shape":"string",

0 commit comments

Comments
 (0)