Skip to content
v2.277.0

Experimental

@aws-cdk/aws-imagebuilder-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

WorkflowAttributes Struct ​

Properties for an EC2 Image Builder Workflow.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as imagebuilder_alpha from '@aws-cdk/aws-imagebuilder-alpha';
const workflowAttributes: imagebuilder_alpha.WorkflowAttributes = {
  workflowArn: 'workflowArn',
  workflowName: 'workflowName',
  workflowType: imagebuilder_alpha.WorkflowType.BUILD,
  workflowVersion: 'workflowVersion',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_imagebuilder_alpha as imagebuilder_alpha

workflow_attributes = imagebuilder_alpha.WorkflowAttributes(
    workflow_arn="workflowArn",
    workflow_name="workflowName",
    workflow_type=imagebuilder_alpha.WorkflowType.BUILD,
    workflow_version="workflowVersion"
)
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.imagebuilder.alpha.*;

WorkflowAttributes workflowAttributes = WorkflowAttributes.builder()
        .workflowArn("workflowArn")
        .workflowName("workflowName")
        .workflowType(WorkflowType.BUILD)
        .workflowVersion("workflowVersion")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.ImageBuilder.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder.Alpha;

var workflowAttributes = new WorkflowAttributes {
    WorkflowArn = "workflowArn",
    WorkflowName = "workflowName",
    WorkflowType = WorkflowType.BUILD,
    WorkflowVersion = "workflowVersion"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsimagebuilderalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import imagebuilder_alpha "github.com/aws/aws-cdk-go/awsimagebuilderalpha"

workflowAttributes := &WorkflowAttributes{
	WorkflowArn: jsii.String("workflowArn"),
	WorkflowName: jsii.String("workflowName"),
	WorkflowType: imagebuilder_alpha.WorkflowType_BUILD,
	WorkflowVersion: jsii.String("workflowVersion"),
}

Properties ​

workflowArnoptionalstringworkflow_arnoptionalstrworkflowArnoptionalStringWorkflowArnoptionalstringWorkflowArnoptional*string #
The ARN of the workflow.

Default: the ARN is automatically constructed if a workflowName and workflowType is provided, otherwise a workflowArn is required

workflowNameoptionalstringworkflow_nameoptionalstrworkflowNameoptionalStringWorkflowNameoptionalstringWorkflowNameoptional*string #
The name of the workflow.

Default: the name is automatically constructed if a workflowArn is provided, otherwise a workflowName is required

workflowTypeoptionalWorkflowTypeworkflow_typeoptionalWorkflowTypeworkflowTypeoptionalWorkflowTypeWorkflowTypeoptionalWorkflowTypeWorkflowTypeoptionalWorkflowType #
The type of the workflow.

Default: the type is automatically constructed if a workflowArn is provided, otherwise a workflowType is required

workflowVersionoptionalstringworkflow_versionoptionalstrworkflowVersionoptionalStringWorkflowVersionoptionalstringWorkflowVersionoptional*string = x.x.x #
The version of the workflow.