This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.CloudFront.
Summary
Invalidates objects from a CloudFront distribution.
Syntax
public Task<string> CreateInvalidation(string distributionId, IList<string> items, string reference, CloudFrontSettings settings, CancellationToken cancellationToken = null)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
Parameters
Name |
Type |
Description |
distributionId |
string |
The distribution to invalidate objects from. |
items |
IList<string> |
The path of the objects to invalidate. |
reference |
string |
A unique name that ensures the request can't be replayed. |
settings |
CloudFrontSettings |
The CloudFrontSettings required to connect to Amazon CloudFront. |
cancellationToken |
CancellationToken |
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Return Value
Type |
Description |
Task<string> |
|