CloudFrontAliases.

CreateInvalidation(ICakeContext, string, IList<string>, CloudFrontSettings) Method

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>