Skip to content
v2.277.0

WorkflowReference Struct ​

A reference to a Workflow resource.

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 interfaces_transfer } from 'aws-cdk-lib/interfaces';
const workflowReference: interfaces_transfer.WorkflowReference = {
  workflowArn: 'workflowArn',
  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.interfaces import aws_transfer as interfaces_transfer

workflow_reference = interfaces_transfer.WorkflowReference(
    workflow_arn="workflowArn",
    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.interfaces.transfer.*;

WorkflowReference workflowReference = WorkflowReference.builder()
        .workflowArn("workflowArn")
        .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.Interfaces.Transfer;

var workflowReference = new WorkflowReference {
    WorkflowArn = "workflowArn",
    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"

workflowReference := &WorkflowReference{
	WorkflowArn: jsii.String("workflowArn"),
	WorkflowId: jsii.String("workflowId"),
}

Properties ​

workflowArnstringworkflow_arnstrworkflowArnStringWorkflowArnstringWorkflowArn*stringrequired#
The ARN of the Workflow resource.
workflowIdstringworkflow_idstrworkflowIdStringWorkflowIdstringWorkflowId*stringrequired#
The WorkflowId of the Workflow resource.