# AWS::Transfer::Workflow Resource Type definition for AWS::Transfer::Workflow ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "AWS::Transfer::Workflow", "Properties" : { "OnExceptionSteps" : [ WorkflowStep, ... ], "Steps" : [ WorkflowStep, ... ], "Tags" : [ Tag, ... ], "Description" : String, } }### YAML
Type: AWS::Transfer::Workflow Properties: OnExceptionSteps: - WorkflowStep Steps: - WorkflowStep Tags: - Tag Description: String## Properties #### OnExceptionSteps Specifies the steps (actions) to take if any errors are encountered during execution of the workflow. _Required_: No _Type_: List of WorkflowStep _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Steps Specifies the details for the steps that are in the specified workflow. _Required_: Yes _Type_: List of WorkflowStep _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Tags Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose. _Required_: No _Type_: List of Tag _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Description A textual description for the workflow. _Required_: No _Type_: String _Maximum Length_:
256
_Pattern_: ^[\w\- ]*$
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the WorkflowId.
### Fn::GetAtt
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
#### WorkflowId
A unique identifier for the workflow.
#### Arn
Specifies the unique Amazon Resource Name (ARN) for the workflow.