WorkflowDetailProperty Struct
Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.
In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const workflowDetailProperty: transfer.CfnServer.WorkflowDetailProperty = {
executionRole: 'executionRole',
workflowId: 'workflowId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_transfer as transfer
workflow_detail_property = transfer.CfnServer.WorkflowDetailProperty(
execution_role="executionRole",
workflow_id="workflowId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;
WorkflowDetailProperty workflowDetailProperty = WorkflowDetailProperty.builder()
.executionRole("executionRole")
.workflowId("workflowId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 workflowDetailProperty = new WorkflowDetailProperty {
ExecutionRole = "executionRole",
WorkflowId = "workflowId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
workflowDetailProperty := &WorkflowDetailProperty{
ExecutionRole: jsii.String("executionRole"),
WorkflowId: jsii.String("workflowId"),
}
Properties
executionRolestringexecution_rolestrexecutionRoleStringExecutionRolestringExecutionRole*stringrequired#Includes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources.
A unique identifier for the workflow.