-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnWorkflow_CustomStepDetailsProperty.go
43 lines (40 loc) · 2.36 KB
/
CfnWorkflow_CustomStepDetailsProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package awstransfer
// 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 "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),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-customstepdetails.html
//
type CfnWorkflow_CustomStepDetailsProperty struct {
// The name of the step, used as an identifier.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-customstepdetails.html#cfn-transfer-workflow-customstepdetails-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
// 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}` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-customstepdetails.html#cfn-transfer-workflow-customstepdetails-sourcefilelocation
//
SourceFileLocation *string `field:"optional" json:"sourceFileLocation" yaml:"sourceFileLocation"`
// The ARN for the Lambda function that is being called.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-customstepdetails.html#cfn-transfer-workflow-customstepdetails-target
//
Target *string `field:"optional" json:"target" yaml:"target"`
// Timeout, in seconds, for the step.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-workflow-customstepdetails.html#cfn-transfer-workflow-customstepdetails-timeoutseconds
//
TimeoutSeconds *float64 `field:"optional" json:"timeoutSeconds" yaml:"timeoutSeconds"`
}