-
Notifications
You must be signed in to change notification settings - Fork 17
/
main.go
187 lines (184 loc) · 11.1 KB
/
main.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
package awschatbot
import (
"reflect"
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
)
func init() {
_jsii_.RegisterClass(
"aws-cdk-lib.aws_chatbot.CfnMicrosoftTeamsChannelConfiguration",
reflect.TypeOf((*CfnMicrosoftTeamsChannelConfiguration)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addDeletionOverride", GoMethod: "AddDeletionOverride"},
_jsii_.MemberMethod{JsiiMethod: "addDependency", GoMethod: "AddDependency"},
_jsii_.MemberMethod{JsiiMethod: "addDependsOn", GoMethod: "AddDependsOn"},
_jsii_.MemberMethod{JsiiMethod: "addMetadata", GoMethod: "AddMetadata"},
_jsii_.MemberMethod{JsiiMethod: "addOverride", GoMethod: "AddOverride"},
_jsii_.MemberMethod{JsiiMethod: "addPropertyDeletionOverride", GoMethod: "AddPropertyDeletionOverride"},
_jsii_.MemberMethod{JsiiMethod: "addPropertyOverride", GoMethod: "AddPropertyOverride"},
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_jsii_.MemberProperty{JsiiProperty: "attrArn", GoGetter: "AttrArn"},
_jsii_.MemberProperty{JsiiProperty: "cfnOptions", GoGetter: "CfnOptions"},
_jsii_.MemberProperty{JsiiProperty: "cfnProperties", GoGetter: "CfnProperties"},
_jsii_.MemberProperty{JsiiProperty: "cfnResourceType", GoGetter: "CfnResourceType"},
_jsii_.MemberProperty{JsiiProperty: "configurationName", GoGetter: "ConfigurationName"},
_jsii_.MemberProperty{JsiiProperty: "creationStack", GoGetter: "CreationStack"},
_jsii_.MemberMethod{JsiiMethod: "getAtt", GoMethod: "GetAtt"},
_jsii_.MemberMethod{JsiiMethod: "getMetadata", GoMethod: "GetMetadata"},
_jsii_.MemberProperty{JsiiProperty: "guardrailPolicies", GoGetter: "GuardrailPolicies"},
_jsii_.MemberProperty{JsiiProperty: "iamRoleArn", GoGetter: "IamRoleArn"},
_jsii_.MemberMethod{JsiiMethod: "inspect", GoMethod: "Inspect"},
_jsii_.MemberProperty{JsiiProperty: "loggingLevel", GoGetter: "LoggingLevel"},
_jsii_.MemberProperty{JsiiProperty: "logicalId", GoGetter: "LogicalId"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberMethod{JsiiMethod: "obtainDependencies", GoMethod: "ObtainDependencies"},
_jsii_.MemberMethod{JsiiMethod: "obtainResourceDependencies", GoMethod: "ObtainResourceDependencies"},
_jsii_.MemberMethod{JsiiMethod: "overrideLogicalId", GoMethod: "OverrideLogicalId"},
_jsii_.MemberProperty{JsiiProperty: "ref", GoGetter: "Ref"},
_jsii_.MemberMethod{JsiiMethod: "removeDependency", GoMethod: "RemoveDependency"},
_jsii_.MemberMethod{JsiiMethod: "renderProperties", GoMethod: "RenderProperties"},
_jsii_.MemberMethod{JsiiMethod: "replaceDependency", GoMethod: "ReplaceDependency"},
_jsii_.MemberMethod{JsiiMethod: "shouldSynthesize", GoMethod: "ShouldSynthesize"},
_jsii_.MemberProperty{JsiiProperty: "snsTopicArns", GoGetter: "SnsTopicArns"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
_jsii_.MemberProperty{JsiiProperty: "teamId", GoGetter: "TeamId"},
_jsii_.MemberProperty{JsiiProperty: "teamsChannelId", GoGetter: "TeamsChannelId"},
_jsii_.MemberProperty{JsiiProperty: "teamsTenantId", GoGetter: "TeamsTenantId"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperites", GoGetter: "UpdatedProperites"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperties", GoGetter: "UpdatedProperties"},
_jsii_.MemberProperty{JsiiProperty: "userRoleRequired", GoGetter: "UserRoleRequired"},
_jsii_.MemberMethod{JsiiMethod: "validateProperties", GoMethod: "ValidateProperties"},
},
func() interface{} {
j := jsiiProxy_CfnMicrosoftTeamsChannelConfiguration{}
_jsii_.InitJsiiProxy(&j.Type__awscdkCfnResource)
_jsii_.InitJsiiProxy(&j.Type__awscdkIInspectable)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_chatbot.CfnMicrosoftTeamsChannelConfigurationProps",
reflect.TypeOf((*CfnMicrosoftTeamsChannelConfigurationProps)(nil)).Elem(),
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_chatbot.CfnSlackChannelConfiguration",
reflect.TypeOf((*CfnSlackChannelConfiguration)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addDeletionOverride", GoMethod: "AddDeletionOverride"},
_jsii_.MemberMethod{JsiiMethod: "addDependency", GoMethod: "AddDependency"},
_jsii_.MemberMethod{JsiiMethod: "addDependsOn", GoMethod: "AddDependsOn"},
_jsii_.MemberMethod{JsiiMethod: "addMetadata", GoMethod: "AddMetadata"},
_jsii_.MemberMethod{JsiiMethod: "addOverride", GoMethod: "AddOverride"},
_jsii_.MemberMethod{JsiiMethod: "addPropertyDeletionOverride", GoMethod: "AddPropertyDeletionOverride"},
_jsii_.MemberMethod{JsiiMethod: "addPropertyOverride", GoMethod: "AddPropertyOverride"},
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_jsii_.MemberProperty{JsiiProperty: "attrArn", GoGetter: "AttrArn"},
_jsii_.MemberProperty{JsiiProperty: "cfnOptions", GoGetter: "CfnOptions"},
_jsii_.MemberProperty{JsiiProperty: "cfnProperties", GoGetter: "CfnProperties"},
_jsii_.MemberProperty{JsiiProperty: "cfnResourceType", GoGetter: "CfnResourceType"},
_jsii_.MemberProperty{JsiiProperty: "configurationName", GoGetter: "ConfigurationName"},
_jsii_.MemberProperty{JsiiProperty: "creationStack", GoGetter: "CreationStack"},
_jsii_.MemberMethod{JsiiMethod: "getAtt", GoMethod: "GetAtt"},
_jsii_.MemberMethod{JsiiMethod: "getMetadata", GoMethod: "GetMetadata"},
_jsii_.MemberProperty{JsiiProperty: "guardrailPolicies", GoGetter: "GuardrailPolicies"},
_jsii_.MemberProperty{JsiiProperty: "iamRoleArn", GoGetter: "IamRoleArn"},
_jsii_.MemberMethod{JsiiMethod: "inspect", GoMethod: "Inspect"},
_jsii_.MemberProperty{JsiiProperty: "loggingLevel", GoGetter: "LoggingLevel"},
_jsii_.MemberProperty{JsiiProperty: "logicalId", GoGetter: "LogicalId"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberMethod{JsiiMethod: "obtainDependencies", GoMethod: "ObtainDependencies"},
_jsii_.MemberMethod{JsiiMethod: "obtainResourceDependencies", GoMethod: "ObtainResourceDependencies"},
_jsii_.MemberMethod{JsiiMethod: "overrideLogicalId", GoMethod: "OverrideLogicalId"},
_jsii_.MemberProperty{JsiiProperty: "ref", GoGetter: "Ref"},
_jsii_.MemberMethod{JsiiMethod: "removeDependency", GoMethod: "RemoveDependency"},
_jsii_.MemberMethod{JsiiMethod: "renderProperties", GoMethod: "RenderProperties"},
_jsii_.MemberMethod{JsiiMethod: "replaceDependency", GoMethod: "ReplaceDependency"},
_jsii_.MemberMethod{JsiiMethod: "shouldSynthesize", GoMethod: "ShouldSynthesize"},
_jsii_.MemberProperty{JsiiProperty: "slackChannelId", GoGetter: "SlackChannelId"},
_jsii_.MemberProperty{JsiiProperty: "slackWorkspaceId", GoGetter: "SlackWorkspaceId"},
_jsii_.MemberProperty{JsiiProperty: "snsTopicArns", GoGetter: "SnsTopicArns"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperites", GoGetter: "UpdatedProperites"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperties", GoGetter: "UpdatedProperties"},
_jsii_.MemberProperty{JsiiProperty: "userRoleRequired", GoGetter: "UserRoleRequired"},
_jsii_.MemberMethod{JsiiMethod: "validateProperties", GoMethod: "ValidateProperties"},
},
func() interface{} {
j := jsiiProxy_CfnSlackChannelConfiguration{}
_jsii_.InitJsiiProxy(&j.Type__awscdkCfnResource)
_jsii_.InitJsiiProxy(&j.Type__awscdkIInspectable)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_chatbot.CfnSlackChannelConfigurationProps",
reflect.TypeOf((*CfnSlackChannelConfigurationProps)(nil)).Elem(),
)
_jsii_.RegisterInterface(
"aws-cdk-lib.aws_chatbot.ISlackChannelConfiguration",
reflect.TypeOf((*ISlackChannelConfiguration)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addToRolePolicy", GoMethod: "AddToRolePolicy"},
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_jsii_.MemberMethod{JsiiMethod: "bindAsNotificationRuleTarget", GoMethod: "BindAsNotificationRuleTarget"},
_jsii_.MemberProperty{JsiiProperty: "env", GoGetter: "Env"},
_jsii_.MemberProperty{JsiiProperty: "grantPrincipal", GoGetter: "GrantPrincipal"},
_jsii_.MemberMethod{JsiiMethod: "metric", GoMethod: "Metric"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberProperty{JsiiProperty: "role", GoGetter: "Role"},
_jsii_.MemberProperty{JsiiProperty: "slackChannelConfigurationArn", GoGetter: "SlackChannelConfigurationArn"},
_jsii_.MemberProperty{JsiiProperty: "slackChannelConfigurationName", GoGetter: "SlackChannelConfigurationName"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
},
func() interface{} {
j := jsiiProxy_ISlackChannelConfiguration{}
_jsii_.InitJsiiProxy(&j.Type__awsiamIGrantable)
_jsii_.InitJsiiProxy(&j.Type__awscodestarnotificationsINotificationRuleTarget)
_jsii_.InitJsiiProxy(&j.Type__awscdkIResource)
return &j
},
)
_jsii_.RegisterEnum(
"aws-cdk-lib.aws_chatbot.LoggingLevel",
reflect.TypeOf((*LoggingLevel)(nil)).Elem(),
map[string]interface{}{
"ERROR": LoggingLevel_ERROR,
"INFO": LoggingLevel_INFO,
"NONE": LoggingLevel_NONE,
},
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_chatbot.SlackChannelConfiguration",
reflect.TypeOf((*SlackChannelConfiguration)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addNotificationTopic", GoMethod: "AddNotificationTopic"},
_jsii_.MemberMethod{JsiiMethod: "addToRolePolicy", GoMethod: "AddToRolePolicy"},
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_jsii_.MemberMethod{JsiiMethod: "bindAsNotificationRuleTarget", GoMethod: "BindAsNotificationRuleTarget"},
_jsii_.MemberProperty{JsiiProperty: "env", GoGetter: "Env"},
_jsii_.MemberMethod{JsiiMethod: "generatePhysicalName", GoMethod: "GeneratePhysicalName"},
_jsii_.MemberMethod{JsiiMethod: "getResourceArnAttribute", GoMethod: "GetResourceArnAttribute"},
_jsii_.MemberMethod{JsiiMethod: "getResourceNameAttribute", GoMethod: "GetResourceNameAttribute"},
_jsii_.MemberProperty{JsiiProperty: "grantPrincipal", GoGetter: "GrantPrincipal"},
_jsii_.MemberMethod{JsiiMethod: "metric", GoMethod: "Metric"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberProperty{JsiiProperty: "physicalName", GoGetter: "PhysicalName"},
_jsii_.MemberProperty{JsiiProperty: "role", GoGetter: "Role"},
_jsii_.MemberProperty{JsiiProperty: "slackChannelConfigurationArn", GoGetter: "SlackChannelConfigurationArn"},
_jsii_.MemberProperty{JsiiProperty: "slackChannelConfigurationName", GoGetter: "SlackChannelConfigurationName"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
},
func() interface{} {
j := jsiiProxy_SlackChannelConfiguration{}
_jsii_.InitJsiiProxy(&j.Type__awscdkResource)
_jsii_.InitJsiiProxy(&j.jsiiProxy_ISlackChannelConfiguration)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_chatbot.SlackChannelConfigurationProps",
reflect.TypeOf((*SlackChannelConfigurationProps)(nil)).Elem(),
)
}