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 Amazon CloudFormation template, use the following syntax:
JSON
{ "OnPartialUpload" :[ WorkflowDetail, ... ], "OnUpload" :[ WorkflowDetail, ... ]}
YAML
OnPartialUpload:- WorkflowDetailOnUpload:- 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: List of WorkflowDetail
Maximum:
1Update 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
OnUploadobject, as in the following example.aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'Required: No
Type: List of WorkflowDetail
Maximum:
1Update requires: No interruption