-
Notifications
You must be signed in to change notification settings - Fork 17
/
main.go
387 lines (384 loc) · 19.9 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
package awsapplicationautoscaling
import (
"reflect"
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
)
func init() {
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.AdjustmentTier",
reflect.TypeOf((*AdjustmentTier)(nil)).Elem(),
)
_jsii_.RegisterEnum(
"aws-cdk-lib.aws_applicationautoscaling.AdjustmentType",
reflect.TypeOf((*AdjustmentType)(nil)).Elem(),
map[string]interface{}{
"CHANGE_IN_CAPACITY": AdjustmentType_CHANGE_IN_CAPACITY,
"PERCENT_CHANGE_IN_CAPACITY": AdjustmentType_PERCENT_CHANGE_IN_CAPACITY,
"EXACT_CAPACITY": AdjustmentType_EXACT_CAPACITY,
},
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.BaseScalableAttribute",
reflect.TypeOf((*BaseScalableAttribute)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "doScaleOnMetric", GoMethod: "DoScaleOnMetric"},
_jsii_.MemberMethod{JsiiMethod: "doScaleOnSchedule", GoMethod: "DoScaleOnSchedule"},
_jsii_.MemberMethod{JsiiMethod: "doScaleToTrackMetric", GoMethod: "DoScaleToTrackMetric"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberProperty{JsiiProperty: "props", GoGetter: "Props"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
},
func() interface{} {
j := jsiiProxy_BaseScalableAttribute{}
_jsii_.InitJsiiProxy(&j.Type__constructsConstruct)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.BaseScalableAttributeProps",
reflect.TypeOf((*BaseScalableAttributeProps)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.BaseTargetTrackingProps",
reflect.TypeOf((*BaseTargetTrackingProps)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.BasicStepScalingPolicyProps",
reflect.TypeOf((*BasicStepScalingPolicyProps)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.BasicTargetTrackingScalingPolicyProps",
reflect.TypeOf((*BasicTargetTrackingScalingPolicyProps)(nil)).Elem(),
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalableTarget",
reflect.TypeOf((*CfnScalableTarget)(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: "cfnOptions", GoGetter: "CfnOptions"},
_jsii_.MemberProperty{JsiiProperty: "cfnProperties", GoGetter: "CfnProperties"},
_jsii_.MemberProperty{JsiiProperty: "cfnResourceType", GoGetter: "CfnResourceType"},
_jsii_.MemberProperty{JsiiProperty: "creationStack", GoGetter: "CreationStack"},
_jsii_.MemberMethod{JsiiMethod: "getAtt", GoMethod: "GetAtt"},
_jsii_.MemberMethod{JsiiMethod: "getMetadata", GoMethod: "GetMetadata"},
_jsii_.MemberMethod{JsiiMethod: "inspect", GoMethod: "Inspect"},
_jsii_.MemberProperty{JsiiProperty: "logicalId", GoGetter: "LogicalId"},
_jsii_.MemberProperty{JsiiProperty: "maxCapacity", GoGetter: "MaxCapacity"},
_jsii_.MemberProperty{JsiiProperty: "minCapacity", GoGetter: "MinCapacity"},
_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_.MemberProperty{JsiiProperty: "resourceId", GoGetter: "ResourceId"},
_jsii_.MemberProperty{JsiiProperty: "roleArn", GoGetter: "RoleArn"},
_jsii_.MemberProperty{JsiiProperty: "scalableDimension", GoGetter: "ScalableDimension"},
_jsii_.MemberProperty{JsiiProperty: "scheduledActions", GoGetter: "ScheduledActions"},
_jsii_.MemberProperty{JsiiProperty: "serviceNamespace", GoGetter: "ServiceNamespace"},
_jsii_.MemberMethod{JsiiMethod: "shouldSynthesize", GoMethod: "ShouldSynthesize"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
_jsii_.MemberProperty{JsiiProperty: "suspendedState", GoGetter: "SuspendedState"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperites", GoGetter: "UpdatedProperites"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperties", GoGetter: "UpdatedProperties"},
_jsii_.MemberMethod{JsiiMethod: "validateProperties", GoMethod: "ValidateProperties"},
},
func() interface{} {
j := jsiiProxy_CfnScalableTarget{}
_jsii_.InitJsiiProxy(&j.Type__awscdkCfnResource)
_jsii_.InitJsiiProxy(&j.Type__awscdkIInspectable)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalableTarget.ScalableTargetActionProperty",
reflect.TypeOf((*CfnScalableTarget_ScalableTargetActionProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalableTarget.ScheduledActionProperty",
reflect.TypeOf((*CfnScalableTarget_ScheduledActionProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalableTarget.SuspendedStateProperty",
reflect.TypeOf((*CfnScalableTarget_SuspendedStateProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalableTargetProps",
reflect.TypeOf((*CfnScalableTargetProps)(nil)).Elem(),
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicy",
reflect.TypeOf((*CfnScalingPolicy)(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: "cfnOptions", GoGetter: "CfnOptions"},
_jsii_.MemberProperty{JsiiProperty: "cfnProperties", GoGetter: "CfnProperties"},
_jsii_.MemberProperty{JsiiProperty: "cfnResourceType", GoGetter: "CfnResourceType"},
_jsii_.MemberProperty{JsiiProperty: "creationStack", GoGetter: "CreationStack"},
_jsii_.MemberMethod{JsiiMethod: "getAtt", GoMethod: "GetAtt"},
_jsii_.MemberMethod{JsiiMethod: "getMetadata", GoMethod: "GetMetadata"},
_jsii_.MemberMethod{JsiiMethod: "inspect", GoMethod: "Inspect"},
_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: "policyName", GoGetter: "PolicyName"},
_jsii_.MemberProperty{JsiiProperty: "policyType", GoGetter: "PolicyType"},
_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_.MemberProperty{JsiiProperty: "resourceId", GoGetter: "ResourceId"},
_jsii_.MemberProperty{JsiiProperty: "scalableDimension", GoGetter: "ScalableDimension"},
_jsii_.MemberProperty{JsiiProperty: "scalingTargetId", GoGetter: "ScalingTargetId"},
_jsii_.MemberProperty{JsiiProperty: "serviceNamespace", GoGetter: "ServiceNamespace"},
_jsii_.MemberMethod{JsiiMethod: "shouldSynthesize", GoMethod: "ShouldSynthesize"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
_jsii_.MemberProperty{JsiiProperty: "stepScalingPolicyConfiguration", GoGetter: "StepScalingPolicyConfiguration"},
_jsii_.MemberProperty{JsiiProperty: "targetTrackingScalingPolicyConfiguration", GoGetter: "TargetTrackingScalingPolicyConfiguration"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperites", GoGetter: "UpdatedProperites"},
_jsii_.MemberProperty{JsiiProperty: "updatedProperties", GoGetter: "UpdatedProperties"},
_jsii_.MemberMethod{JsiiMethod: "validateProperties", GoMethod: "ValidateProperties"},
},
func() interface{} {
j := jsiiProxy_CfnScalingPolicy{}
_jsii_.InitJsiiProxy(&j.Type__awscdkCfnResource)
_jsii_.InitJsiiProxy(&j.Type__awscdkIInspectable)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicy.CustomizedMetricSpecificationProperty",
reflect.TypeOf((*CfnScalingPolicy_CustomizedMetricSpecificationProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicy.MetricDimensionProperty",
reflect.TypeOf((*CfnScalingPolicy_MetricDimensionProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicy.PredefinedMetricSpecificationProperty",
reflect.TypeOf((*CfnScalingPolicy_PredefinedMetricSpecificationProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicy.StepAdjustmentProperty",
reflect.TypeOf((*CfnScalingPolicy_StepAdjustmentProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicy.StepScalingPolicyConfigurationProperty",
reflect.TypeOf((*CfnScalingPolicy_StepScalingPolicyConfigurationProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicy.TargetTrackingScalingPolicyConfigurationProperty",
reflect.TypeOf((*CfnScalingPolicy_TargetTrackingScalingPolicyConfigurationProperty)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CfnScalingPolicyProps",
reflect.TypeOf((*CfnScalingPolicyProps)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.CronOptions",
reflect.TypeOf((*CronOptions)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.EnableScalingProps",
reflect.TypeOf((*EnableScalingProps)(nil)).Elem(),
)
_jsii_.RegisterInterface(
"aws-cdk-lib.aws_applicationautoscaling.IScalableTarget",
reflect.TypeOf((*IScalableTarget)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_jsii_.MemberProperty{JsiiProperty: "env", GoGetter: "Env"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberProperty{JsiiProperty: "scalableTargetId", GoGetter: "ScalableTargetId"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
},
func() interface{} {
j := jsiiProxy_IScalableTarget{}
_jsii_.InitJsiiProxy(&j.Type__awscdkIResource)
return &j
},
)
_jsii_.RegisterEnum(
"aws-cdk-lib.aws_applicationautoscaling.MetricAggregationType",
reflect.TypeOf((*MetricAggregationType)(nil)).Elem(),
map[string]interface{}{
"AVERAGE": MetricAggregationType_AVERAGE,
"MINIMUM": MetricAggregationType_MINIMUM,
"MAXIMUM": MetricAggregationType_MAXIMUM,
},
)
_jsii_.RegisterEnum(
"aws-cdk-lib.aws_applicationautoscaling.PredefinedMetric",
reflect.TypeOf((*PredefinedMetric)(nil)).Elem(),
map[string]interface{}{
"APPSTREAM_AVERAGE_CAPACITY_UTILIZATION": PredefinedMetric_APPSTREAM_AVERAGE_CAPACITY_UTILIZATION,
"CASSANDRA_READ_CAPACITY_UTILIZATION": PredefinedMetric_CASSANDRA_READ_CAPACITY_UTILIZATION,
"CASSANDRA_WRITE_CAPACITY_UTILIZATION": PredefinedMetric_CASSANDRA_WRITE_CAPACITY_UTILIZATION,
"COMPREHEND_INFERENCE_UTILIZATION": PredefinedMetric_COMPREHEND_INFERENCE_UTILIZATION,
"NEPTURE_READER_AVERAGE_CPU_UTILIZATION": PredefinedMetric_NEPTURE_READER_AVERAGE_CPU_UTILIZATION,
"DYNAMODB_READ_CAPACITY_UTILIZATION": PredefinedMetric_DYNAMODB_READ_CAPACITY_UTILIZATION,
"DYNAMODB_WRITE_CAPACITY_UTILIZATION": PredefinedMetric_DYNAMODB_WRITE_CAPACITY_UTILIZATION,
"DYANMODB_WRITE_CAPACITY_UTILIZATION": PredefinedMetric_DYANMODB_WRITE_CAPACITY_UTILIZATION,
"ALB_REQUEST_COUNT_PER_TARGET": PredefinedMetric_ALB_REQUEST_COUNT_PER_TARGET,
"RDS_READER_AVERAGE_CPU_UTILIZATION": PredefinedMetric_RDS_READER_AVERAGE_CPU_UTILIZATION,
"RDS_READER_AVERAGE_DATABASE_CONNECTIONS": PredefinedMetric_RDS_READER_AVERAGE_DATABASE_CONNECTIONS,
"EC2_SPOT_FLEET_REQUEST_AVERAGE_CPU_UTILIZATION": PredefinedMetric_EC2_SPOT_FLEET_REQUEST_AVERAGE_CPU_UTILIZATION,
"EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_IN": PredefinedMetric_EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_IN,
"EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_OUT": PredefinedMetric_EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_OUT,
"SAGEMAKER_VARIANT_INVOCATIONS_PER_INSTANCE": PredefinedMetric_SAGEMAKER_VARIANT_INVOCATIONS_PER_INSTANCE,
"ECS_SERVICE_AVERAGE_CPU_UTILIZATION": PredefinedMetric_ECS_SERVICE_AVERAGE_CPU_UTILIZATION,
"ECS_SERVICE_AVERAGE_MEMORY_UTILIZATION": PredefinedMetric_ECS_SERVICE_AVERAGE_MEMORY_UTILIZATION,
"LAMBDA_PROVISIONED_CONCURRENCY_UTILIZATION": PredefinedMetric_LAMBDA_PROVISIONED_CONCURRENCY_UTILIZATION,
"KAFKA_BROKER_STORAGE_UTILIZATION": PredefinedMetric_KAFKA_BROKER_STORAGE_UTILIZATION,
"ELASTICACHE_PRIMARY_ENGINE_CPU_UTILIZATION": PredefinedMetric_ELASTICACHE_PRIMARY_ENGINE_CPU_UTILIZATION,
"ELASTICACHE_REPLICA_ENGINE_CPU_UTILIZATION": PredefinedMetric_ELASTICACHE_REPLICA_ENGINE_CPU_UTILIZATION,
"ELASTICACHE_DATABASE_MEMORY_USAGE_COUNTED_FOR_EVICT_PERCENTAGE": PredefinedMetric_ELASTICACHE_DATABASE_MEMORY_USAGE_COUNTED_FOR_EVICT_PERCENTAGE,
},
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.ScalableTarget",
reflect.TypeOf((*ScalableTarget)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addToRolePolicy", GoMethod: "AddToRolePolicy"},
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_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: "node", GoGetter: "Node"},
_jsii_.MemberProperty{JsiiProperty: "physicalName", GoGetter: "PhysicalName"},
_jsii_.MemberProperty{JsiiProperty: "role", GoGetter: "Role"},
_jsii_.MemberProperty{JsiiProperty: "scalableTargetId", GoGetter: "ScalableTargetId"},
_jsii_.MemberMethod{JsiiMethod: "scaleOnMetric", GoMethod: "ScaleOnMetric"},
_jsii_.MemberMethod{JsiiMethod: "scaleOnSchedule", GoMethod: "ScaleOnSchedule"},
_jsii_.MemberMethod{JsiiMethod: "scaleToTrackMetric", GoMethod: "ScaleToTrackMetric"},
_jsii_.MemberProperty{JsiiProperty: "stack", GoGetter: "Stack"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
},
func() interface{} {
j := jsiiProxy_ScalableTarget{}
_jsii_.InitJsiiProxy(&j.Type__awscdkResource)
_jsii_.InitJsiiProxy(&j.jsiiProxy_IScalableTarget)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.ScalableTargetProps",
reflect.TypeOf((*ScalableTargetProps)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.ScalingInterval",
reflect.TypeOf((*ScalingInterval)(nil)).Elem(),
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.ScalingSchedule",
reflect.TypeOf((*ScalingSchedule)(nil)).Elem(),
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.Schedule",
reflect.TypeOf((*Schedule)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "expressionString", GoGetter: "ExpressionString"},
},
func() interface{} {
return &jsiiProxy_Schedule{}
},
)
_jsii_.RegisterEnum(
"aws-cdk-lib.aws_applicationautoscaling.ServiceNamespace",
reflect.TypeOf((*ServiceNamespace)(nil)).Elem(),
map[string]interface{}{
"ECS": ServiceNamespace_ECS,
"ELASTIC_MAP_REDUCE": ServiceNamespace_ELASTIC_MAP_REDUCE,
"EC2": ServiceNamespace_EC2,
"APPSTREAM": ServiceNamespace_APPSTREAM,
"DYNAMODB": ServiceNamespace_DYNAMODB,
"RDS": ServiceNamespace_RDS,
"SAGEMAKER": ServiceNamespace_SAGEMAKER,
"CUSTOM_RESOURCE": ServiceNamespace_CUSTOM_RESOURCE,
"LAMBDA": ServiceNamespace_LAMBDA,
"COMPREHEND": ServiceNamespace_COMPREHEND,
"KAFKA": ServiceNamespace_KAFKA,
"ELASTICACHE": ServiceNamespace_ELASTICACHE,
"NEPTUNE": ServiceNamespace_NEPTUNE,
},
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.StepScalingAction",
reflect.TypeOf((*StepScalingAction)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "addAdjustment", GoMethod: "AddAdjustment"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberProperty{JsiiProperty: "scalingPolicyArn", GoGetter: "ScalingPolicyArn"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
},
func() interface{} {
j := jsiiProxy_StepScalingAction{}
_jsii_.InitJsiiProxy(&j.Type__constructsConstruct)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.StepScalingActionProps",
reflect.TypeOf((*StepScalingActionProps)(nil)).Elem(),
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.StepScalingPolicy",
reflect.TypeOf((*StepScalingPolicy)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "lowerAction", GoGetter: "LowerAction"},
_jsii_.MemberProperty{JsiiProperty: "lowerAlarm", GoGetter: "LowerAlarm"},
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
_jsii_.MemberProperty{JsiiProperty: "upperAction", GoGetter: "UpperAction"},
_jsii_.MemberProperty{JsiiProperty: "upperAlarm", GoGetter: "UpperAlarm"},
},
func() interface{} {
j := jsiiProxy_StepScalingPolicy{}
_jsii_.InitJsiiProxy(&j.Type__constructsConstruct)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.StepScalingPolicyProps",
reflect.TypeOf((*StepScalingPolicyProps)(nil)).Elem(),
)
_jsii_.RegisterClass(
"aws-cdk-lib.aws_applicationautoscaling.TargetTrackingScalingPolicy",
reflect.TypeOf((*TargetTrackingScalingPolicy)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberProperty{JsiiProperty: "node", GoGetter: "Node"},
_jsii_.MemberProperty{JsiiProperty: "scalingPolicyArn", GoGetter: "ScalingPolicyArn"},
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
},
func() interface{} {
j := jsiiProxy_TargetTrackingScalingPolicy{}
_jsii_.InitJsiiProxy(&j.Type__constructsConstruct)
return &j
},
)
_jsii_.RegisterStruct(
"aws-cdk-lib.aws_applicationautoscaling.TargetTrackingScalingPolicyProps",
reflect.TypeOf((*TargetTrackingScalingPolicyProps)(nil)).Elem(),
)
}