Skip to content
v2.278.0

WorkflowDefinitionReference Struct ​

A reference to a WorkflowDefinition resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_novaact as interfaces_novaact } from 'aws-cdk-lib/interfaces';
const workflowDefinitionReference: interfaces_novaact.WorkflowDefinitionReference = {
  workflowDefinitionArn: 'workflowDefinitionArn',
};
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_novaact as interfaces_novaact

workflow_definition_reference = interfaces_novaact.WorkflowDefinitionReference(
    workflow_definition_arn="workflowDefinitionArn"
)
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.novaact.*;

WorkflowDefinitionReference workflowDefinitionReference = WorkflowDefinitionReference.builder()
        .workflowDefinitionArn("workflowDefinitionArn")
        .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.NovaAct;

var workflowDefinitionReference = new WorkflowDefinitionReference {
    WorkflowDefinitionArn = "workflowDefinitionArn"
};
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"

workflowDefinitionReference := &WorkflowDefinitionReference{
	WorkflowDefinitionArn: jsii.String("workflowDefinitionArn"),
}

Properties ​

workflowDefinitionArnstringworkflow_definition_arnstrworkflowDefinitionArnStringWorkflowDefinitionArnstringWorkflowDefinitionArn*string required #
The Arn of the WorkflowDefinition resource.