This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.S3.
Summary
Syncs the specified file to Amazon S3, checking the modified date of the local file with a existing S3Object and uploads it if its changes.
Syntax
public static Task<string> S3SyncUpload(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> |
AThe key that require invalidating. |