AWS::Transfer::Server WorkflowDetails - AWS CloudFormation

AWS::Transfer::Server WorkflowDetails

Container for the WorkflowDetail data type. It is used by actions that trigger a workflow to begin execution.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "OnPartialUpload" : [ WorkflowDetail, ... ], "OnUpload" : [ WorkflowDetail, ... ] }

Properties

OnPartialUpload

A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server that executes whenever there is a partial upload.

A partial upload occurs when a file is open when the session disconnects.

Required: No

Type: Array of WorkflowDetail

Update requires: No interruption

OnUpload

A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.

To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example.

aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'

Required: No

Type: Array of WorkflowDetail

Update requires: No interruption