Class CfnServer.WorkflowDetailsProperty
Container for the WorkflowDetail
data type.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Transfer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WorkflowDetailsProperty : Object, CfnServer.IWorkflowDetailsProperty
Syntax (vb)
Public Class WorkflowDetailsProperty
Inherits Object
Implements CfnServer.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
Constructors
WorkflowDetailsProperty() |
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. |
Constructors
WorkflowDetailsProperty()
public WorkflowDetailsProperty()
Properties
OnPartialUpload
A trigger that starts a workflow if a file is only partially uploaded.
public object OnPartialUpload { get; set; }
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.
public object OnUpload { get; set; }
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":[]}'