-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnStateMachineProps.go
95 lines (92 loc) · 4.5 KB
/
CfnStateMachineProps.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
package awssam
// Properties for defining a `CfnStateMachine`.
//
// 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 definition interface{}
//
// cfnStateMachineProps := &CfnStateMachineProps{
// Definition: definition,
// DefinitionSubstitutions: map[string]*string{
// "definitionSubstitutionsKey": jsii.String("definitionSubstitutions"),
// },
// DefinitionUri: jsii.String("definitionUri"),
// Events: map[string]interface{}{
// "eventsKey": &EventSourceProperty{
// "properties": &ApiEventProperty{
// "method": jsii.String("method"),
// "path": jsii.String("path"),
//
// // the properties below are optional
// "restApiId": jsii.String("restApiId"),
// },
// "type": jsii.String("type"),
// },
// },
// Logging: &LoggingConfigurationProperty{
// Destinations: []interface{}{
// &LogDestinationProperty{
// CloudWatchLogsLogGroup: &CloudWatchLogsLogGroupProperty{
// LogGroupArn: jsii.String("logGroupArn"),
// },
// },
// },
// IncludeExecutionData: jsii.Boolean(false),
// Level: jsii.String("level"),
// },
// Name: jsii.String("name"),
// PermissionsBoundaries: jsii.String("permissionsBoundaries"),
// Policies: jsii.String("policies"),
// Role: jsii.String("role"),
// Tags: map[string]*string{
// "tagsKey": jsii.String("tags"),
// },
// Tracing: &TracingConfigurationProperty{
// Enabled: jsii.Boolean(false),
// },
// Type: jsii.String("type"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html
//
type CfnStateMachineProps struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-definition
//
Definition interface{} `field:"optional" json:"definition" yaml:"definition"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-definitionsubstitutions
//
DefinitionSubstitutions interface{} `field:"optional" json:"definitionSubstitutions" yaml:"definitionSubstitutions"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-definitionuri
//
DefinitionUri interface{} `field:"optional" json:"definitionUri" yaml:"definitionUri"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-events
//
Events interface{} `field:"optional" json:"events" yaml:"events"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-logging
//
Logging interface{} `field:"optional" json:"logging" yaml:"logging"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-permissionsboundaries
//
PermissionsBoundaries *string `field:"optional" json:"permissionsBoundaries" yaml:"permissionsBoundaries"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-policies
//
Policies interface{} `field:"optional" json:"policies" yaml:"policies"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-role
//
Role *string `field:"optional" json:"role" yaml:"role"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-tracing
//
Tracing interface{} `field:"optional" json:"tracing" yaml:"tracing"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-serverless-statemachine.html#cfn-serverless-statemachine-type
//
Type *string `field:"optional" json:"type" yaml:"type"`
}