-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnWorkflowProps.go
107 lines (104 loc) · 4.01 KB
/
CfnWorkflowProps.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
package awstransfer
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnWorkflow`.
//
// 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"
//
// var copyStepDetails interface{}
// var customStepDetails interface{}
// var deleteStepDetails interface{}
// var tagStepDetails interface{}
//
// cfnWorkflowProps := &CfnWorkflowProps{
// Steps: []interface{}{
// &WorkflowStepProperty{
// CopyStepDetails: copyStepDetails,
// CustomStepDetails: customStepDetails,
// DecryptStepDetails: &DecryptStepDetailsProperty{
// DestinationFileLocation: &InputFileLocationProperty{
// EfsFileLocation: &EfsInputFileLocationProperty{
// FileSystemId: jsii.String("fileSystemId"),
// Path: jsii.String("path"),
// },
// S3FileLocation: &S3InputFileLocationProperty{
// Bucket: jsii.String("bucket"),
// Key: jsii.String("key"),
// },
// },
// Type: jsii.String("type"),
//
// // the properties below are optional
// Name: jsii.String("name"),
// OverwriteExisting: jsii.String("overwriteExisting"),
// SourceFileLocation: jsii.String("sourceFileLocation"),
// },
// DeleteStepDetails: deleteStepDetails,
// TagStepDetails: tagStepDetails,
// Type: jsii.String("type"),
// },
// },
//
// // the properties below are optional
// Description: jsii.String("description"),
// OnExceptionSteps: []interface{}{
// &WorkflowStepProperty{
// CopyStepDetails: copyStepDetails,
// CustomStepDetails: customStepDetails,
// DecryptStepDetails: &DecryptStepDetailsProperty{
// DestinationFileLocation: &InputFileLocationProperty{
// EfsFileLocation: &EfsInputFileLocationProperty{
// FileSystemId: jsii.String("fileSystemId"),
// Path: jsii.String("path"),
// },
// S3FileLocation: &S3InputFileLocationProperty{
// Bucket: jsii.String("bucket"),
// Key: jsii.String("key"),
// },
// },
// Type: jsii.String("type"),
//
// // the properties below are optional
// Name: jsii.String("name"),
// OverwriteExisting: jsii.String("overwriteExisting"),
// SourceFileLocation: jsii.String("sourceFileLocation"),
// },
// DeleteStepDetails: deleteStepDetails,
// TagStepDetails: tagStepDetails,
// Type: jsii.String("type"),
// },
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html
//
type CfnWorkflowProps struct {
// Specifies the details for the steps that are in the specified workflow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-steps
//
Steps interface{} `field:"required" json:"steps" yaml:"steps"`
// Specifies the text description for the workflow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-onexceptionsteps
//
OnExceptionSteps interface{} `field:"optional" json:"onExceptionSteps" yaml:"onExceptionSteps"`
// Key-value pairs that can be used to group and search for workflows.
//
// Tags are metadata attached to workflows for any purpose.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-workflow.html#cfn-transfer-workflow-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}