S3Aliases.

S3SyncDownload(ICakeContext, FilePath, SyncSettings) Method

Summary

Syncs the specified file from Amazon S3, checking the modified date of the local file with a existing S3Object and downloads it if its changed.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static Task<string> S3SyncDownload(this ICakeContext context, FilePath filePath, SyncSettings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
filePath FilePath The file path to sync to S3
settings SyncSettings The SyncSettings required to sync to Amazon S3.

Return Value

Type Description
Task<string> The key that require invalidating.