# WorkflowReference

A reference to a Workflow resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `workflowArn`: string (required) — The ARN of the Workflow resource.

- `workflowId`: string (required) — The WorkflowId of the Workflow resource.
