AWS::Transfer::Workflow WorkflowStep - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Transfer::Workflow WorkflowStep

The basic building block of a workflow.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

CopyStepDetails

Details for a step that performs a file copy.

Consists of the following values:

  • A description

  • An Amazon S3 location for the destination of the file copy.

  • A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE.

Required: No

Type: CopyStepDetails

Update requires: Replacement

CustomStepDetails

Details for a step that invokes an Amazon Lambda function.

Consists of the Lambda function's name, target, and timeout (in seconds).

Required: No

Type: CustomStepDetails

Update requires: Replacement

DecryptStepDetails

Details for a step that decrypts an encrypted file.

Consists of the following values:

  • A descriptive name

  • An Amazon S3 or Amazon Elastic File System (Amazon EFS) location for the source file to decrypt.

  • An S3 or Amazon EFS location for the destination of the file decryption.

  • A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE.

  • The type of encryption that's used. Currently, only PGP encryption is supported.

Required: No

Type: DecryptStepDetails

Update requires: Replacement

DeleteStepDetails

Details for a step that deletes the file.

Required: No

Type: DeleteStepDetails

Update requires: Replacement

TagStepDetails

Details for a step that creates one or more tags.

You specify one or more tags. Each tag contains a key-value pair.

Required: No

Type: TagStepDetails

Update requires: Replacement

Type

Currently, the following step types are supported.

  • COPY - Copy the file to another location.

  • CUSTOM - Perform a custom step with an Amazon Lambda function target.

  • DECRYPT - Decrypt a file that was encrypted before it was uploaded.

  • DELETE - Delete the file.

  • TAG - Add a tag to the file.

Required: No

Type: String

Allowed values: COPY | CUSTOM | DECRYPT | DELETE | TAG

Update requires: Replacement