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 static Task<string> CreateInvalidation(this ICakeContext context, string distributionId, IList<string> items, CloudFrontSettings settings)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The cake context. |
distributionId |
string |
The distribution to invalidate objects from. |
items |
IList<string> |
The path of the objects to invalidate. |
settings |
CloudFrontSettings |
The CloudFrontSettings required to connect to Amazon CloudFront. |
Return Value
Type |
Description |
Task<string> |
|