S3Manager.

SyncUpload(FilePath, SyncSettings, CancellationToken) Method

Summary

Syncs the specified file to Amazon S3, checking the modified date of the local files with existing S3Objects and uploading them if its changes.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Manager

Syntax

public Task<string> SyncUpload(FilePath filePath, SyncSettings settings, CancellationToken cancellationToken = null)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
filePath FilePath The file path to sync to S3
settings SyncSettings The SyncSettings required to sync to Amazon S3.
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> The key that require invalidating.