AWS CloudFront Cache Invalidation Action
ActionsTags
(2)This action can be used to perform
CreateInvalidationCommand
against an AWS CloudFront distribution in order to invalidate caches content, so users of an app can get the latest content to be cached as explained here -> https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
Invalidate cache within a specific AWS CloudFront distribution
name | description | required | default |
---|---|---|---|
aws_region |
CloudFront is basically regionless, but it requires you to use any region to talk to it |
true |
"" |
cf_distribution_id |
The ID of the CloudFront distribution you want to manage. This is required for operations such as invalidation or updating distribution settings |
true |
"" |
cf_invalidation_paths |
A list of paths to invalidate in the CloudFront distribution. Paths should be specified as an array of strings, e.g., ["/index.html", "/"]. Use "/" to invalidate all objects |
true |
"" |
This action is a node20
action.
- uses: <project>@<version>
with:
aws_region:
# CloudFront is basically regionless, but it requires you to use any region to talk to it
#
# Required: true
# Default: ""
cf_distribution_id:
# The ID of the CloudFront distribution you want to manage. This is required for operations such as invalidation or updating distribution settings
#
# Required: true
# Default: ""
cf_invalidation_paths:
# A list of paths to invalidate in the CloudFront distribution. Paths should be specified as an array of strings, e.g., < '/*','/index.html' >. Use '/*' to invalidate all objects
#
# Required: true
# Default: ""
AWS CloudFront Cache Invalidation Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.