AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Transfer::Workflow

CfnWorkflow

Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer completes. After creating a workflow, you can associate the workflow created with any transfer servers by specifying the `workflow-details` field in `CreateServer` and `UpdateServer` operations.

Import

import { CfnWorkflow } from 'aws-cdk-lib/aws-transfer';

Or use the module namespace:

import * as transfer from 'aws-cdk-lib/aws-transfer';
// transfer.CfnWorkflow

Properties

Configuration passed to the constructor as CfnWorkflowProps.

stepsRequired
IResolvable | IResolvable | WorkflowStepProperty[]

Specifies the details for the steps that are in the specified workflow.

descriptionOptional
string

Specifies the text description for the workflow.

onExceptionStepsOptional
IResolvable | IResolvable | WorkflowStepProperty[]

Specifies the steps (actions) to take if errors are encountered during execution of the workflow.

tagsOptional
CfnTag[]

Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter