CustomStepDetailsProperty Struct
Details for a step that invokes an AWS Lambda function.
Consists of the Lambda function's name, target, and timeout (in seconds).
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_transfer as transfer
custom_step_details_property = transfer.CfnWorkflow.CustomStepDetailsProperty(
name="name",
source_file_location="sourceFileLocation",
target="target",
timeout_seconds=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;
CustomStepDetailsProperty customStepDetailsProperty = CustomStepDetailsProperty.builder()
.name("name")
.sourceFileLocation("sourceFileLocation")
.target("target")
.timeoutSeconds(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;
var customStepDetailsProperty = new CustomStepDetailsProperty {
Name = "name",
SourceFileLocation = "sourceFileLocation",
Target = "target",
TimeoutSeconds = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
customStepDetailsProperty := &CustomStepDetailsProperty{
Name: jsii.String("name"),
SourceFileLocation: jsii.String("sourceFileLocation"),
Target: jsii.String("target"),
TimeoutSeconds: jsii.Number(123),
}
Properties
The name of the step, used as an identifier.
sourceFileLocationoptionalstringsource_file_locationoptionalstrsourceFileLocationoptionalStringSourceFileLocationoptionalstringSourceFileLocationoptional*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.
notes
- 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}.
targetoptionalstringtargetoptionalstrtargetoptionalStringTargetoptionalstringTargetoptional*string #The ARN for the Lambda function that is being called.
timeoutSecondsoptionalnumbertimeout_secondsoptionalint | floattimeoutSecondsoptionalNumberTimeoutSecondsoptionaldoubleTimeoutSecondsoptional*float64 #Timeout, in seconds, for the step.