S3Aliases.

S3Sync(ICakeContext, DirectoryPath, SyncSettings) Method

Summary

Syncs the specified directory to Amazon S3, checking the modified date of the local fiels with existing S3Objects.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static Task<IList<string>> S3Sync(this ICakeContext context, DirectoryPath dirPath, SyncSettings settings)

Attributes

Type Description
AsyncStateMachineAttribute
ObsoleteAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
dirPath DirectoryPath The directory path to sync to S3
settings SyncSettings The SyncSettings required to sync to Amazon S3.

Return Value

Type Description
Task<IList<string>> A list of keys that require invalidating.