Publishes a CloudFront function by copying the function code from the DEVELOPMENT
stage to LIVE
. This automatically updates all cache behaviors that are using this function to use the newly published copy in the LIVE
stage.
See https://paws-r.github.io/docs/cloudfront/publish_function.html for full documentation.
cloudfront_publish_function(Name, IfMatch)
[required] The name of the function that you are publishing.
[required] The current version (ETag
value) of the function that you are
publishing, which you can get using
describe_function
.