ICloudFrontManager.

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

Summary

Invalidates objects from a CloudFront distribution.

Syntax

Task<string> CreateInvalidation(string distributionId, IList<string> items, string reference, CloudFrontSettings settings, CancellationToken cancellationToken = null)

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>