Interface CfnServer.IWorkflowDetailsProperty
Container for the WorkflowDetail
data type.
Namespace: Amazon.CDK.AWS.Transfer
Assembly: Amazon.CDK.AWS.Transfer.dll
Syntax (csharp)
public interface IWorkflowDetailsProperty
Syntax (vb)
Public Interface IWorkflowDetailsProperty
Remarks
It is used by actions that trigger a workflow to begin execution.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;
var workflowDetailsProperty = new WorkflowDetailsProperty {
OnPartialUpload = new [] { new WorkflowDetailProperty {
ExecutionRole = "executionRole",
WorkflowId = "workflowId"
} },
OnUpload = new [] { new WorkflowDetailProperty {
ExecutionRole = "executionRole",
WorkflowId = "workflowId"
} }
};
Synopsis
Properties
OnPartialUpload | A trigger that starts a workflow if a file is only partially uploaded. |
OnUpload | A trigger that starts a workflow: the workflow begins to execute after a file is uploaded. |
Properties
OnPartialUpload
A trigger that starts a workflow if a file is only partially uploaded.
virtual object OnPartialUpload { get; }
Property Value
System.Object
Remarks
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.
OnUpload
A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
virtual object OnUpload { get; }
Property Value
System.Object
Remarks
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":[]}'