interface CustomStepDetailsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Transfer.CfnWorkflow.CustomStepDetailsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awstransfer#CfnWorkflow_CustomStepDetailsProperty |
![]() | software.amazon.awscdk.services.transfer.CfnWorkflow.CustomStepDetailsProperty |
![]() | aws_cdk.aws_transfer.CfnWorkflow.CustomStepDetailsProperty |
![]() | aws-cdk-lib » aws_transfer » CfnWorkflow » CustomStepDetailsProperty |
Details for a step that invokes an AWS Lambda function.
Consists of the Lambda function's name, target, and timeout (in seconds).
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const customStepDetailsProperty: transfer.CfnWorkflow.CustomStepDetailsProperty = {
name: 'name',
sourceFileLocation: 'sourceFileLocation',
target: 'target',
timeoutSeconds: 123,
};
Properties
Name | Type | Description |
---|---|---|
name? | string | The name of the step, used as an identifier. |
source | string | 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. |
target? | string | The ARN for the Lambda function that is being called. |
timeout | number | Timeout, in seconds, for the step. |
name?
Type:
string
(optional)
The name of the step, used as an identifier.
sourceFileLocation?
Type:
string
(optional)
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}
.
target?
Type:
string
(optional)
The ARN for the Lambda function that is being called.
timeoutSeconds?
Type:
number
(optional)
Timeout, in seconds, for the step.