Skip to content
v2.278.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_imagebuilder as interfaces_imagebuilder } from 'aws-cdk-lib/interfaces';
const workflowReference: interfaces_imagebuilder.WorkflowReference = {
  workflowArn: 'workflowArn',
};
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_imagebuilder as interfaces_imagebuilder

workflow_reference = interfaces_imagebuilder.WorkflowReference(
    workflow_arn="workflowArn"
)
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.imagebuilder.*;

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

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

Properties ​

workflowArnstringworkflow_arnstrworkflowArnStringWorkflowArnstringWorkflowArn*string required #
The Arn of the Workflow resource.