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, string item, string reference, 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.
item
string
The path of the object 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.
Return Value
Type
Description
Task<string>