AWS::Transfer::Workflow CustomStepDetails - AWS CloudFormation

AWS::Transfer::Workflow CustomStepDetails

Details for a step that invokes an AWS Lambda function.

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

Syntax

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

JSON

{ "Name" : String, "SourceFileLocation" : String, "Target" : String, "TimeoutSeconds" : Integer }

YAML

Name: String SourceFileLocation: String Target: String TimeoutSeconds: Integer

Properties

Name

The name of the step, used as an identifier.

Required: No

Type: String

Pattern: ^[\w-]*$

Minimum: 0

Maximum: 30

Update requires: Replacement

SourceFileLocation

Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

  • To use the previous file as the input, enter ${previous.file}. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value.

  • To use the originally uploaded file location as input for this step, enter ${original.file}.

Required: No

Type: String

Pattern: ^\$\{(\w+.)+\w+\}$

Minimum: 0

Maximum: 256

Update requires: Replacement

Target

The ARN for the Lambda function that is being called.

Required: No

Type: String

Pattern: arn:[a-z-]+:lambda:.*$

Minimum: 0

Maximum: 170

Update requires: Replacement

TimeoutSeconds

Timeout, in seconds, for the step.

Required: No

Type: Integer

Minimum: 1

Maximum: 1800

Update requires: Replacement