pulumi-alicloud 3.59.0a1720761596__py3-none-any.whl → 3.59.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (144) hide show
  1. pulumi_alicloud/__init__.py +48 -0
  2. pulumi_alicloud/_utilities.py +3 -4
  3. pulumi_alicloud/adb/_inputs.py +14 -0
  4. pulumi_alicloud/adb/outputs.py +14 -0
  5. pulumi_alicloud/adb/resource_group.py +115 -119
  6. pulumi_alicloud/alb/_inputs.py +224 -0
  7. pulumi_alicloud/alb/outputs.py +260 -0
  8. pulumi_alicloud/arms/_inputs.py +438 -0
  9. pulumi_alicloud/arms/outputs.py +442 -0
  10. pulumi_alicloud/bp/_inputs.py +14 -0
  11. pulumi_alicloud/bp/outputs.py +14 -0
  12. pulumi_alicloud/cas/outputs.py +4 -0
  13. pulumi_alicloud/cddc/outputs.py +6 -0
  14. pulumi_alicloud/cen/get_transit_router_service.py +2 -2
  15. pulumi_alicloud/cfg/_inputs.py +20 -0
  16. pulumi_alicloud/cfg/outputs.py +20 -0
  17. pulumi_alicloud/clickhouse/get_regions.py +2 -2
  18. pulumi_alicloud/clickhouse/outputs.py +4 -0
  19. pulumi_alicloud/cloudfirewall/_inputs.py +40 -0
  20. pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
  21. pulumi_alicloud/cloudfirewall/outputs.py +40 -0
  22. pulumi_alicloud/cloudmonitor/_inputs.py +18 -0
  23. pulumi_alicloud/cloudmonitor/outputs.py +18 -0
  24. pulumi_alicloud/cloudstoragegateway/gateway_cache_disk.py +150 -27
  25. pulumi_alicloud/cms/_inputs.py +188 -0
  26. pulumi_alicloud/cms/outputs.py +228 -0
  27. pulumi_alicloud/compute/_inputs.py +4 -0
  28. pulumi_alicloud/compute/outputs.py +4 -0
  29. pulumi_alicloud/cs/_inputs.py +22 -0
  30. pulumi_alicloud/cs/node_pool.py +7 -7
  31. pulumi_alicloud/cs/outputs.py +22 -0
  32. pulumi_alicloud/databasegateway/outputs.py +42 -0
  33. pulumi_alicloud/dcdn/_inputs.py +555 -27
  34. pulumi_alicloud/dcdn/domain.py +366 -217
  35. pulumi_alicloud/dcdn/outputs.py +550 -22
  36. pulumi_alicloud/ddos/_inputs.py +162 -0
  37. pulumi_alicloud/ddos/outputs.py +162 -0
  38. pulumi_alicloud/dfs/file_system.py +52 -19
  39. pulumi_alicloud/directmail/get_domains.py +31 -24
  40. pulumi_alicloud/directmail/outputs.py +131 -32
  41. pulumi_alicloud/ebs/_inputs.py +22 -0
  42. pulumi_alicloud/ebs/outputs.py +22 -0
  43. pulumi_alicloud/eci/_inputs.py +100 -0
  44. pulumi_alicloud/eci/outputs.py +100 -0
  45. pulumi_alicloud/ecs/_inputs.py +242 -16
  46. pulumi_alicloud/ecs/ecs_disk.py +7 -0
  47. pulumi_alicloud/ecs/image.py +607 -121
  48. pulumi_alicloud/ecs/instance.py +304 -102
  49. pulumi_alicloud/ecs/outputs.py +348 -17
  50. pulumi_alicloud/edas/_inputs.py +28 -0
  51. pulumi_alicloud/edas/outputs.py +28 -0
  52. pulumi_alicloud/ehpc/_inputs.py +6 -0
  53. pulumi_alicloud/ehpc/outputs.py +6 -0
  54. pulumi_alicloud/emr/_inputs.py +134 -0
  55. pulumi_alicloud/emr/outputs.py +148 -0
  56. pulumi_alicloud/emrv2/_inputs.py +714 -0
  57. pulumi_alicloud/emrv2/cluster.py +14 -14
  58. pulumi_alicloud/emrv2/outputs.py +724 -0
  59. pulumi_alicloud/ens/__init__.py +2 -0
  60. pulumi_alicloud/ens/eip_instance_attachment.py +480 -0
  61. pulumi_alicloud/ens/instance.py +16 -17
  62. pulumi_alicloud/ens/nat_gateway.py +458 -0
  63. pulumi_alicloud/ess/_inputs.py +24 -0
  64. pulumi_alicloud/ess/eci_scaling_configuration.py +94 -0
  65. pulumi_alicloud/ess/outputs.py +24 -0
  66. pulumi_alicloud/ess/scaling_group.py +94 -0
  67. pulumi_alicloud/eventbridge/_inputs.py +156 -0
  68. pulumi_alicloud/eventbridge/outputs.py +156 -0
  69. pulumi_alicloud/expressconnect/_inputs.py +12 -0
  70. pulumi_alicloud/expressconnect/outputs.py +12 -0
  71. pulumi_alicloud/fc/_inputs.py +32 -0
  72. pulumi_alicloud/fc/outputs.py +32 -0
  73. pulumi_alicloud/ga/_inputs.py +24 -0
  74. pulumi_alicloud/ga/bandwidth_package_attachment.py +34 -34
  75. pulumi_alicloud/ga/listener.py +122 -0
  76. pulumi_alicloud/ga/outputs.py +24 -0
  77. pulumi_alicloud/gpdb/__init__.py +4 -0
  78. pulumi_alicloud/gpdb/_inputs.py +48 -0
  79. pulumi_alicloud/gpdb/external_data_service.py +485 -0
  80. pulumi_alicloud/gpdb/outputs.py +60 -0
  81. pulumi_alicloud/gpdb/remote_adb_data_source.py +763 -0
  82. pulumi_alicloud/gpdb/streaming_data_service.py +481 -0
  83. pulumi_alicloud/gpdb/streaming_data_source.py +645 -0
  84. pulumi_alicloud/hbr/_inputs.py +68 -0
  85. pulumi_alicloud/hbr/outputs.py +68 -0
  86. pulumi_alicloud/imp/_inputs.py +14 -0
  87. pulumi_alicloud/imp/outputs.py +14 -0
  88. pulumi_alicloud/log/_inputs.py +14 -0
  89. pulumi_alicloud/log/outputs.py +14 -0
  90. pulumi_alicloud/maxcompute/_inputs.py +54 -34
  91. pulumi_alicloud/maxcompute/outputs.py +54 -34
  92. pulumi_alicloud/maxcompute/project.py +230 -66
  93. pulumi_alicloud/mongodb/_inputs.py +14 -0
  94. pulumi_alicloud/mongodb/outputs.py +14 -0
  95. pulumi_alicloud/oss/_inputs.py +100 -0
  96. pulumi_alicloud/oss/outputs.py +100 -0
  97. pulumi_alicloud/ots/_inputs.py +60 -0
  98. pulumi_alicloud/ots/outputs.py +60 -0
  99. pulumi_alicloud/polardb/_inputs.py +10 -0
  100. pulumi_alicloud/polardb/cluster.py +28 -28
  101. pulumi_alicloud/polardb/outputs.py +10 -0
  102. pulumi_alicloud/pulumi-plugin.json +1 -1
  103. pulumi_alicloud/pvtz/outputs.py +18 -0
  104. pulumi_alicloud/quotas/_inputs.py +10 -0
  105. pulumi_alicloud/quotas/outputs.py +10 -0
  106. pulumi_alicloud/ram/_inputs.py +24 -0
  107. pulumi_alicloud/ram/outputs.py +24 -0
  108. pulumi_alicloud/rdc/organization.py +2 -2
  109. pulumi_alicloud/realtimecompute/_inputs.py +6 -0
  110. pulumi_alicloud/realtimecompute/outputs.py +6 -0
  111. pulumi_alicloud/redis/tair_instance.py +161 -67
  112. pulumi_alicloud/rocketmq/_inputs.py +36 -0
  113. pulumi_alicloud/rocketmq/outputs.py +36 -0
  114. pulumi_alicloud/ros/_inputs.py +72 -0
  115. pulumi_alicloud/ros/outputs.py +72 -0
  116. pulumi_alicloud/sae/_inputs.py +118 -0
  117. pulumi_alicloud/sae/outputs.py +118 -0
  118. pulumi_alicloud/scdn/_inputs.py +56 -0
  119. pulumi_alicloud/scdn/outputs.py +56 -0
  120. pulumi_alicloud/servicecatalog/_inputs.py +10 -0
  121. pulumi_alicloud/servicecatalog/outputs.py +10 -0
  122. pulumi_alicloud/servicemesh/_inputs.py +150 -0
  123. pulumi_alicloud/servicemesh/outputs.py +154 -0
  124. pulumi_alicloud/slb/_inputs.py +8 -8
  125. pulumi_alicloud/slb/outputs.py +8 -8
  126. pulumi_alicloud/slb/server_group.py +140 -84
  127. pulumi_alicloud/sls/_inputs.py +186 -0
  128. pulumi_alicloud/sls/outputs.py +186 -0
  129. pulumi_alicloud/threatdetection/_inputs.py +32 -0
  130. pulumi_alicloud/threatdetection/outputs.py +32 -0
  131. pulumi_alicloud/vod/_inputs.py +18 -0
  132. pulumi_alicloud/vod/outputs.py +18 -0
  133. pulumi_alicloud/vpc/_inputs.py +50 -12
  134. pulumi_alicloud/vpc/network.py +332 -134
  135. pulumi_alicloud/vpc/outputs.py +50 -12
  136. pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
  137. pulumi_alicloud/vpn/_inputs.py +10 -0
  138. pulumi_alicloud/vpn/outputs.py +14 -0
  139. pulumi_alicloud/wafv3/_inputs.py +10 -0
  140. pulumi_alicloud/wafv3/outputs.py +10 -0
  141. {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/METADATA +1 -1
  142. {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/RECORD +144 -138
  143. {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/WHEEL +1 -1
  144. {pulumi_alicloud-3.59.0a1720761596.dist-info → pulumi_alicloud-3.59.1.dist-info}/top_level.txt +0 -0
@@ -15,6 +15,14 @@ __all__ = [
15
15
  'ClusterBootstrapScriptNodeSelectorArgs',
16
16
  'ClusterNodeAttributeArgs',
17
17
  'ClusterNodeGroupArgs',
18
+ 'ClusterNodeGroupAutoScalingPolicyArgs',
19
+ 'ClusterNodeGroupAutoScalingPolicyConstraintsArgs',
20
+ 'ClusterNodeGroupAutoScalingPolicyScalingRuleArgs',
21
+ 'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs',
22
+ 'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs',
23
+ 'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs',
24
+ 'ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs',
25
+ 'ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs',
18
26
  'ClusterNodeGroupCostOptimizedConfigArgs',
19
27
  'ClusterNodeGroupDataDiskArgs',
20
28
  'ClusterNodeGroupSpotBidPriceArgs',
@@ -179,6 +187,9 @@ class ClusterBootstrapScriptArgs:
179
187
  pulumi.set(__self__, "script_args", script_args)
180
188
  pulumi.set(__self__, "script_name", script_name)
181
189
  pulumi.set(__self__, "script_path", script_path)
190
+ if priority is not None:
191
+ warnings.warn("""Field 'priority' has been deprecated from provider version 1.227.0.""", DeprecationWarning)
192
+ pulumi.log.warn("""priority is deprecated: Field 'priority' has been deprecated from provider version 1.227.0.""")
182
193
  if priority is not None:
183
194
  pulumi.set(__self__, "priority", priority)
184
195
 
@@ -256,6 +267,7 @@ class ClusterBootstrapScriptArgs:
256
267
 
257
268
  @property
258
269
  @pulumi.getter
270
+ @_utilities.deprecated("""Field 'priority' has been deprecated from provider version 1.227.0.""")
259
271
  def priority(self) -> Optional[pulumi.Input[int]]:
260
272
  """
261
273
  The bootstrap scripts priority.
@@ -272,14 +284,33 @@ class ClusterBootstrapScriptNodeSelectorArgs:
272
284
  def __init__(__self__, *,
273
285
  node_select_type: pulumi.Input[str],
274
286
  node_group_id: Optional[pulumi.Input[str]] = None,
287
+ node_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
275
288
  node_group_name: Optional[pulumi.Input[str]] = None,
289
+ node_group_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
276
290
  node_group_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
277
291
  node_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
292
+ """
293
+ :param pulumi.Input[str] node_select_type: The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
294
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] node_group_ids: The bootstrap scripts execution target node group ids.
295
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] node_group_names: The bootstrap scripts execution target node group names.
296
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] node_group_types: The bootstrap scripts execution target node group types.
297
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] node_names: The bootstrap scripts execution target node names.
298
+ """
278
299
  pulumi.set(__self__, "node_select_type", node_select_type)
300
+ if node_group_id is not None:
301
+ warnings.warn("""Field 'node_group_id' has been deprecated from provider version 1.227.0. New field 'node_group_ids' replaces it.""", DeprecationWarning)
302
+ pulumi.log.warn("""node_group_id is deprecated: Field 'node_group_id' has been deprecated from provider version 1.227.0. New field 'node_group_ids' replaces it.""")
279
303
  if node_group_id is not None:
280
304
  pulumi.set(__self__, "node_group_id", node_group_id)
305
+ if node_group_ids is not None:
306
+ pulumi.set(__self__, "node_group_ids", node_group_ids)
307
+ if node_group_name is not None:
308
+ warnings.warn("""Field 'node_group_name' has been deprecated from provider version 1.227.0. New field 'node_group_names' replaces it.""", DeprecationWarning)
309
+ pulumi.log.warn("""node_group_name is deprecated: Field 'node_group_name' has been deprecated from provider version 1.227.0. New field 'node_group_names' replaces it.""")
281
310
  if node_group_name is not None:
282
311
  pulumi.set(__self__, "node_group_name", node_group_name)
312
+ if node_group_names is not None:
313
+ pulumi.set(__self__, "node_group_names", node_group_names)
283
314
  if node_group_types is not None:
284
315
  pulumi.set(__self__, "node_group_types", node_group_types)
285
316
  if node_names is not None:
@@ -288,6 +319,9 @@ class ClusterBootstrapScriptNodeSelectorArgs:
288
319
  @property
289
320
  @pulumi.getter(name="nodeSelectType")
290
321
  def node_select_type(self) -> pulumi.Input[str]:
322
+ """
323
+ The bootstrap scripts execution target node select type. Supported value: NODE, NODEGROUP or CLUSTER.
324
+ """
291
325
  return pulumi.get(self, "node_select_type")
292
326
 
293
327
  @node_select_type.setter
@@ -296,6 +330,7 @@ class ClusterBootstrapScriptNodeSelectorArgs:
296
330
 
297
331
  @property
298
332
  @pulumi.getter(name="nodeGroupId")
333
+ @_utilities.deprecated("""Field 'node_group_id' has been deprecated from provider version 1.227.0. New field 'node_group_ids' replaces it.""")
299
334
  def node_group_id(self) -> Optional[pulumi.Input[str]]:
300
335
  return pulumi.get(self, "node_group_id")
301
336
 
@@ -303,8 +338,21 @@ class ClusterBootstrapScriptNodeSelectorArgs:
303
338
  def node_group_id(self, value: Optional[pulumi.Input[str]]):
304
339
  pulumi.set(self, "node_group_id", value)
305
340
 
341
+ @property
342
+ @pulumi.getter(name="nodeGroupIds")
343
+ def node_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
344
+ """
345
+ The bootstrap scripts execution target node group ids.
346
+ """
347
+ return pulumi.get(self, "node_group_ids")
348
+
349
+ @node_group_ids.setter
350
+ def node_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
351
+ pulumi.set(self, "node_group_ids", value)
352
+
306
353
  @property
307
354
  @pulumi.getter(name="nodeGroupName")
355
+ @_utilities.deprecated("""Field 'node_group_name' has been deprecated from provider version 1.227.0. New field 'node_group_names' replaces it.""")
308
356
  def node_group_name(self) -> Optional[pulumi.Input[str]]:
309
357
  return pulumi.get(self, "node_group_name")
310
358
 
@@ -312,9 +360,24 @@ class ClusterBootstrapScriptNodeSelectorArgs:
312
360
  def node_group_name(self, value: Optional[pulumi.Input[str]]):
313
361
  pulumi.set(self, "node_group_name", value)
314
362
 
363
+ @property
364
+ @pulumi.getter(name="nodeGroupNames")
365
+ def node_group_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
366
+ """
367
+ The bootstrap scripts execution target node group names.
368
+ """
369
+ return pulumi.get(self, "node_group_names")
370
+
371
+ @node_group_names.setter
372
+ def node_group_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
373
+ pulumi.set(self, "node_group_names", value)
374
+
315
375
  @property
316
376
  @pulumi.getter(name="nodeGroupTypes")
317
377
  def node_group_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
378
+ """
379
+ The bootstrap scripts execution target node group types.
380
+ """
318
381
  return pulumi.get(self, "node_group_types")
319
382
 
320
383
  @node_group_types.setter
@@ -324,6 +387,9 @@ class ClusterBootstrapScriptNodeSelectorArgs:
324
387
  @property
325
388
  @pulumi.getter(name="nodeNames")
326
389
  def node_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
390
+ """
391
+ The bootstrap scripts execution target node names.
392
+ """
327
393
  return pulumi.get(self, "node_names")
328
394
 
329
395
  @node_names.setter
@@ -455,6 +521,7 @@ class ClusterNodeGroupArgs:
455
521
  node_group_type: pulumi.Input[str],
456
522
  system_disk: pulumi.Input['ClusterNodeGroupSystemDiskArgs'],
457
523
  additional_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
524
+ auto_scaling_policy: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyArgs']] = None,
458
525
  cost_optimized_config: Optional[pulumi.Input['ClusterNodeGroupCostOptimizedConfigArgs']] = None,
459
526
  deployment_set_strategy: Optional[pulumi.Input[str]] = None,
460
527
  graceful_shutdown: Optional[pulumi.Input[bool]] = None,
@@ -473,6 +540,7 @@ class ClusterNodeGroupArgs:
473
540
  :param pulumi.Input[str] node_group_type: The node group type of emr cluster, supported value: MASTER, CORE or TASK. Node group type of GATEWAY is available since v1.219.0.
474
541
  :param pulumi.Input['ClusterNodeGroupSystemDiskArgs'] system_disk: Host Ecs system disk information in this node group. See `system_disk` below.
475
542
  :param pulumi.Input[Sequence[pulumi.Input[str]]] additional_security_group_ids: Additional security Group IDS for Cluster, you can also specify this key for each node group.
543
+ :param pulumi.Input['ClusterNodeGroupAutoScalingPolicyArgs'] auto_scaling_policy: The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
476
544
  :param pulumi.Input['ClusterNodeGroupCostOptimizedConfigArgs'] cost_optimized_config: The detail cost optimized configuration of emr cluster. See `cost_optimized_config` below.
477
545
  :param pulumi.Input[str] deployment_set_strategy: Deployment set strategy for this cluster node group. Supported value: NONE, CLUSTER or NODE_GROUP.
478
546
  :param pulumi.Input[bool] graceful_shutdown: Enable emr cluster of task node graceful decommission, ’true’ or ‘false’ .
@@ -492,6 +560,8 @@ class ClusterNodeGroupArgs:
492
560
  pulumi.set(__self__, "system_disk", system_disk)
493
561
  if additional_security_group_ids is not None:
494
562
  pulumi.set(__self__, "additional_security_group_ids", additional_security_group_ids)
563
+ if auto_scaling_policy is not None:
564
+ pulumi.set(__self__, "auto_scaling_policy", auto_scaling_policy)
495
565
  if cost_optimized_config is not None:
496
566
  pulumi.set(__self__, "cost_optimized_config", cost_optimized_config)
497
567
  if deployment_set_strategy is not None:
@@ -597,6 +667,18 @@ class ClusterNodeGroupArgs:
597
667
  def additional_security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
598
668
  pulumi.set(self, "additional_security_group_ids", value)
599
669
 
670
+ @property
671
+ @pulumi.getter(name="autoScalingPolicy")
672
+ def auto_scaling_policy(self) -> Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyArgs']]:
673
+ """
674
+ The node group auto scaling policy for emr cluster. See `auto_scaling_policy` below.
675
+ """
676
+ return pulumi.get(self, "auto_scaling_policy")
677
+
678
+ @auto_scaling_policy.setter
679
+ def auto_scaling_policy(self, value: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyArgs']]):
680
+ pulumi.set(self, "auto_scaling_policy", value)
681
+
600
682
  @property
601
683
  @pulumi.getter(name="costOptimizedConfig")
602
684
  def cost_optimized_config(self) -> Optional[pulumi.Input['ClusterNodeGroupCostOptimizedConfigArgs']]:
@@ -718,12 +800,589 @@ class ClusterNodeGroupArgs:
718
800
  pulumi.set(self, "with_public_ip", value)
719
801
 
720
802
 
803
+ @pulumi.input_type
804
+ class ClusterNodeGroupAutoScalingPolicyArgs:
805
+ def __init__(__self__, *,
806
+ constraints: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyConstraintsArgs']] = None,
807
+ scaling_rules: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleArgs']]]] = None):
808
+ """
809
+ :param pulumi.Input['ClusterNodeGroupAutoScalingPolicyConstraintsArgs'] constraints: The constraints of auto scaling policy. See `constraints` below.
810
+ :param pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleArgs']]] scaling_rules: The scaling rules of auto scaling policy. See `scaling_rules` below.
811
+ """
812
+ if constraints is not None:
813
+ pulumi.set(__self__, "constraints", constraints)
814
+ if scaling_rules is not None:
815
+ pulumi.set(__self__, "scaling_rules", scaling_rules)
816
+
817
+ @property
818
+ @pulumi.getter
819
+ def constraints(self) -> Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyConstraintsArgs']]:
820
+ """
821
+ The constraints of auto scaling policy. See `constraints` below.
822
+ """
823
+ return pulumi.get(self, "constraints")
824
+
825
+ @constraints.setter
826
+ def constraints(self, value: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyConstraintsArgs']]):
827
+ pulumi.set(self, "constraints", value)
828
+
829
+ @property
830
+ @pulumi.getter(name="scalingRules")
831
+ def scaling_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleArgs']]]]:
832
+ """
833
+ The scaling rules of auto scaling policy. See `scaling_rules` below.
834
+ """
835
+ return pulumi.get(self, "scaling_rules")
836
+
837
+ @scaling_rules.setter
838
+ def scaling_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleArgs']]]]):
839
+ pulumi.set(self, "scaling_rules", value)
840
+
841
+
842
+ @pulumi.input_type
843
+ class ClusterNodeGroupAutoScalingPolicyConstraintsArgs:
844
+ def __init__(__self__, *,
845
+ max_capacity: Optional[pulumi.Input[int]] = None,
846
+ min_capacity: Optional[pulumi.Input[int]] = None):
847
+ """
848
+ :param pulumi.Input[int] max_capacity: The maximum capacity of constraints for emr node group auto scaling policy.
849
+ :param pulumi.Input[int] min_capacity: The minimum capacity of constraints for emr node group auto scaling policy.
850
+ """
851
+ if max_capacity is not None:
852
+ pulumi.set(__self__, "max_capacity", max_capacity)
853
+ if min_capacity is not None:
854
+ pulumi.set(__self__, "min_capacity", min_capacity)
855
+
856
+ @property
857
+ @pulumi.getter(name="maxCapacity")
858
+ def max_capacity(self) -> Optional[pulumi.Input[int]]:
859
+ """
860
+ The maximum capacity of constraints for emr node group auto scaling policy.
861
+ """
862
+ return pulumi.get(self, "max_capacity")
863
+
864
+ @max_capacity.setter
865
+ def max_capacity(self, value: Optional[pulumi.Input[int]]):
866
+ pulumi.set(self, "max_capacity", value)
867
+
868
+ @property
869
+ @pulumi.getter(name="minCapacity")
870
+ def min_capacity(self) -> Optional[pulumi.Input[int]]:
871
+ """
872
+ The minimum capacity of constraints for emr node group auto scaling policy.
873
+ """
874
+ return pulumi.get(self, "min_capacity")
875
+
876
+ @min_capacity.setter
877
+ def min_capacity(self, value: Optional[pulumi.Input[int]]):
878
+ pulumi.set(self, "min_capacity", value)
879
+
880
+
881
+ @pulumi.input_type
882
+ class ClusterNodeGroupAutoScalingPolicyScalingRuleArgs:
883
+ def __init__(__self__, *,
884
+ activity_type: pulumi.Input[str],
885
+ adjustment_value: pulumi.Input[int],
886
+ rule_name: pulumi.Input[str],
887
+ trigger_type: pulumi.Input[str],
888
+ adjustment_type: Optional[pulumi.Input[str]] = None,
889
+ metrics_trigger: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs']] = None,
890
+ min_adjustment_value: Optional[pulumi.Input[int]] = None,
891
+ time_trigger: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs']] = None):
892
+ """
893
+ :param pulumi.Input[str] activity_type: The activity type of auto scaling policy. Valid values: `SCALE_OUT` and `SCALE_IN`.
894
+ :param pulumi.Input[int] adjustment_value: The adjustment value of auto scaling policy. The value should between 1 and 5000.
895
+ :param pulumi.Input[str] rule_name: The rule name of auto scaling policy.
896
+ :param pulumi.Input[str] trigger_type: The trigger type of auto scaling policy. Valid values: `TIME_TRIGGER` and `METRICS_TRIGGER`.
897
+ :param pulumi.Input[str] adjustment_type: The adjustment type of auto scaling policy. Valid values: `CHANGE_IN_CAPACITY` and `EXACT_CAPACITY`.
898
+ :param pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs'] metrics_trigger: The trigger metrics of scaling rules for emr node group auto scaling policy. See `metrics_trigger` below.
899
+ :param pulumi.Input[int] min_adjustment_value: The minimum adjustment value of auto scaling policy.
900
+ :param pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs'] time_trigger: The trigger time of scaling rules for emr node group auto scaling policy. See `time_trigger` below.
901
+ """
902
+ pulumi.set(__self__, "activity_type", activity_type)
903
+ pulumi.set(__self__, "adjustment_value", adjustment_value)
904
+ pulumi.set(__self__, "rule_name", rule_name)
905
+ pulumi.set(__self__, "trigger_type", trigger_type)
906
+ if adjustment_type is not None:
907
+ pulumi.set(__self__, "adjustment_type", adjustment_type)
908
+ if metrics_trigger is not None:
909
+ pulumi.set(__self__, "metrics_trigger", metrics_trigger)
910
+ if min_adjustment_value is not None:
911
+ pulumi.set(__self__, "min_adjustment_value", min_adjustment_value)
912
+ if time_trigger is not None:
913
+ pulumi.set(__self__, "time_trigger", time_trigger)
914
+
915
+ @property
916
+ @pulumi.getter(name="activityType")
917
+ def activity_type(self) -> pulumi.Input[str]:
918
+ """
919
+ The activity type of auto scaling policy. Valid values: `SCALE_OUT` and `SCALE_IN`.
920
+ """
921
+ return pulumi.get(self, "activity_type")
922
+
923
+ @activity_type.setter
924
+ def activity_type(self, value: pulumi.Input[str]):
925
+ pulumi.set(self, "activity_type", value)
926
+
927
+ @property
928
+ @pulumi.getter(name="adjustmentValue")
929
+ def adjustment_value(self) -> pulumi.Input[int]:
930
+ """
931
+ The adjustment value of auto scaling policy. The value should between 1 and 5000.
932
+ """
933
+ return pulumi.get(self, "adjustment_value")
934
+
935
+ @adjustment_value.setter
936
+ def adjustment_value(self, value: pulumi.Input[int]):
937
+ pulumi.set(self, "adjustment_value", value)
938
+
939
+ @property
940
+ @pulumi.getter(name="ruleName")
941
+ def rule_name(self) -> pulumi.Input[str]:
942
+ """
943
+ The rule name of auto scaling policy.
944
+ """
945
+ return pulumi.get(self, "rule_name")
946
+
947
+ @rule_name.setter
948
+ def rule_name(self, value: pulumi.Input[str]):
949
+ pulumi.set(self, "rule_name", value)
950
+
951
+ @property
952
+ @pulumi.getter(name="triggerType")
953
+ def trigger_type(self) -> pulumi.Input[str]:
954
+ """
955
+ The trigger type of auto scaling policy. Valid values: `TIME_TRIGGER` and `METRICS_TRIGGER`.
956
+ """
957
+ return pulumi.get(self, "trigger_type")
958
+
959
+ @trigger_type.setter
960
+ def trigger_type(self, value: pulumi.Input[str]):
961
+ pulumi.set(self, "trigger_type", value)
962
+
963
+ @property
964
+ @pulumi.getter(name="adjustmentType")
965
+ def adjustment_type(self) -> Optional[pulumi.Input[str]]:
966
+ """
967
+ The adjustment type of auto scaling policy. Valid values: `CHANGE_IN_CAPACITY` and `EXACT_CAPACITY`.
968
+ """
969
+ return pulumi.get(self, "adjustment_type")
970
+
971
+ @adjustment_type.setter
972
+ def adjustment_type(self, value: Optional[pulumi.Input[str]]):
973
+ pulumi.set(self, "adjustment_type", value)
974
+
975
+ @property
976
+ @pulumi.getter(name="metricsTrigger")
977
+ def metrics_trigger(self) -> Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs']]:
978
+ """
979
+ The trigger metrics of scaling rules for emr node group auto scaling policy. See `metrics_trigger` below.
980
+ """
981
+ return pulumi.get(self, "metrics_trigger")
982
+
983
+ @metrics_trigger.setter
984
+ def metrics_trigger(self, value: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs']]):
985
+ pulumi.set(self, "metrics_trigger", value)
986
+
987
+ @property
988
+ @pulumi.getter(name="minAdjustmentValue")
989
+ def min_adjustment_value(self) -> Optional[pulumi.Input[int]]:
990
+ """
991
+ The minimum adjustment value of auto scaling policy.
992
+ """
993
+ return pulumi.get(self, "min_adjustment_value")
994
+
995
+ @min_adjustment_value.setter
996
+ def min_adjustment_value(self, value: Optional[pulumi.Input[int]]):
997
+ pulumi.set(self, "min_adjustment_value", value)
998
+
999
+ @property
1000
+ @pulumi.getter(name="timeTrigger")
1001
+ def time_trigger(self) -> Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs']]:
1002
+ """
1003
+ The trigger time of scaling rules for emr node group auto scaling policy. See `time_trigger` below.
1004
+ """
1005
+ return pulumi.get(self, "time_trigger")
1006
+
1007
+ @time_trigger.setter
1008
+ def time_trigger(self, value: Optional[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs']]):
1009
+ pulumi.set(self, "time_trigger", value)
1010
+
1011
+
1012
+ @pulumi.input_type
1013
+ class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerArgs:
1014
+ def __init__(__self__, *,
1015
+ evaluation_count: pulumi.Input[int],
1016
+ time_window: pulumi.Input[int],
1017
+ condition_logic_operator: Optional[pulumi.Input[str]] = None,
1018
+ conditions: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs']]]] = None,
1019
+ cool_down_interval: Optional[pulumi.Input[int]] = None,
1020
+ time_constraints: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs']]]] = None):
1021
+ """
1022
+ :param pulumi.Input[int] evaluation_count: The evaluation count for this scaling rule specific metrics trigger.
1023
+ :param pulumi.Input[int] time_window: The time window for this scaling rule specific metrics trigger.
1024
+ :param pulumi.Input[str] condition_logic_operator: The condition logic operator for this scaling rule specific metrics trigger. Valid values: `And` and `Or`.
1025
+ :param pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs']]] conditions: The conditions for this scaling rule specific metrics trigger. See `conditions` below.
1026
+ :param pulumi.Input[int] cool_down_interval: The time of cool down interval for this scaling rule specific metrics trigger.
1027
+ :param pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs']]] time_constraints: The time constraints for this scaling rule specific metrics trigger. See `time_constraints` below.
1028
+ """
1029
+ pulumi.set(__self__, "evaluation_count", evaluation_count)
1030
+ pulumi.set(__self__, "time_window", time_window)
1031
+ if condition_logic_operator is not None:
1032
+ pulumi.set(__self__, "condition_logic_operator", condition_logic_operator)
1033
+ if conditions is not None:
1034
+ pulumi.set(__self__, "conditions", conditions)
1035
+ if cool_down_interval is not None:
1036
+ pulumi.set(__self__, "cool_down_interval", cool_down_interval)
1037
+ if time_constraints is not None:
1038
+ pulumi.set(__self__, "time_constraints", time_constraints)
1039
+
1040
+ @property
1041
+ @pulumi.getter(name="evaluationCount")
1042
+ def evaluation_count(self) -> pulumi.Input[int]:
1043
+ """
1044
+ The evaluation count for this scaling rule specific metrics trigger.
1045
+ """
1046
+ return pulumi.get(self, "evaluation_count")
1047
+
1048
+ @evaluation_count.setter
1049
+ def evaluation_count(self, value: pulumi.Input[int]):
1050
+ pulumi.set(self, "evaluation_count", value)
1051
+
1052
+ @property
1053
+ @pulumi.getter(name="timeWindow")
1054
+ def time_window(self) -> pulumi.Input[int]:
1055
+ """
1056
+ The time window for this scaling rule specific metrics trigger.
1057
+ """
1058
+ return pulumi.get(self, "time_window")
1059
+
1060
+ @time_window.setter
1061
+ def time_window(self, value: pulumi.Input[int]):
1062
+ pulumi.set(self, "time_window", value)
1063
+
1064
+ @property
1065
+ @pulumi.getter(name="conditionLogicOperator")
1066
+ def condition_logic_operator(self) -> Optional[pulumi.Input[str]]:
1067
+ """
1068
+ The condition logic operator for this scaling rule specific metrics trigger. Valid values: `And` and `Or`.
1069
+ """
1070
+ return pulumi.get(self, "condition_logic_operator")
1071
+
1072
+ @condition_logic_operator.setter
1073
+ def condition_logic_operator(self, value: Optional[pulumi.Input[str]]):
1074
+ pulumi.set(self, "condition_logic_operator", value)
1075
+
1076
+ @property
1077
+ @pulumi.getter
1078
+ def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs']]]]:
1079
+ """
1080
+ The conditions for this scaling rule specific metrics trigger. See `conditions` below.
1081
+ """
1082
+ return pulumi.get(self, "conditions")
1083
+
1084
+ @conditions.setter
1085
+ def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs']]]]):
1086
+ pulumi.set(self, "conditions", value)
1087
+
1088
+ @property
1089
+ @pulumi.getter(name="coolDownInterval")
1090
+ def cool_down_interval(self) -> Optional[pulumi.Input[int]]:
1091
+ """
1092
+ The time of cool down interval for this scaling rule specific metrics trigger.
1093
+ """
1094
+ return pulumi.get(self, "cool_down_interval")
1095
+
1096
+ @cool_down_interval.setter
1097
+ def cool_down_interval(self, value: Optional[pulumi.Input[int]]):
1098
+ pulumi.set(self, "cool_down_interval", value)
1099
+
1100
+ @property
1101
+ @pulumi.getter(name="timeConstraints")
1102
+ def time_constraints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs']]]]:
1103
+ """
1104
+ The time constraints for this scaling rule specific metrics trigger. See `time_constraints` below.
1105
+ """
1106
+ return pulumi.get(self, "time_constraints")
1107
+
1108
+ @time_constraints.setter
1109
+ def time_constraints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs']]]]):
1110
+ pulumi.set(self, "time_constraints", value)
1111
+
1112
+
1113
+ @pulumi.input_type
1114
+ class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionArgs:
1115
+ def __init__(__self__, *,
1116
+ comparison_operator: pulumi.Input[str],
1117
+ metric_name: pulumi.Input[str],
1118
+ statistics: pulumi.Input[str],
1119
+ threshold: pulumi.Input[float],
1120
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs']]]] = None):
1121
+ """
1122
+ :param pulumi.Input[str] comparison_operator: The comparison operator for this scaling rule specific metrics trigger. Invalid values: `EQ`, `NE`, `GT`, `LT`, `GE`, `LE`.
1123
+ :param pulumi.Input[str] metric_name: The metric name for this scaling rule specific metrics trigger.
1124
+ :param pulumi.Input[str] statistics: The statistics for this scaling rule specific metrics trigger.
1125
+ :param pulumi.Input[float] threshold: The threshold for this scaling rule specific metrics trigger.
1126
+ :param pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs']]] tags: A mapping of tags to assign to the resource.
1127
+ """
1128
+ pulumi.set(__self__, "comparison_operator", comparison_operator)
1129
+ pulumi.set(__self__, "metric_name", metric_name)
1130
+ pulumi.set(__self__, "statistics", statistics)
1131
+ pulumi.set(__self__, "threshold", threshold)
1132
+ if tags is not None:
1133
+ pulumi.set(__self__, "tags", tags)
1134
+
1135
+ @property
1136
+ @pulumi.getter(name="comparisonOperator")
1137
+ def comparison_operator(self) -> pulumi.Input[str]:
1138
+ """
1139
+ The comparison operator for this scaling rule specific metrics trigger. Invalid values: `EQ`, `NE`, `GT`, `LT`, `GE`, `LE`.
1140
+ """
1141
+ return pulumi.get(self, "comparison_operator")
1142
+
1143
+ @comparison_operator.setter
1144
+ def comparison_operator(self, value: pulumi.Input[str]):
1145
+ pulumi.set(self, "comparison_operator", value)
1146
+
1147
+ @property
1148
+ @pulumi.getter(name="metricName")
1149
+ def metric_name(self) -> pulumi.Input[str]:
1150
+ """
1151
+ The metric name for this scaling rule specific metrics trigger.
1152
+ """
1153
+ return pulumi.get(self, "metric_name")
1154
+
1155
+ @metric_name.setter
1156
+ def metric_name(self, value: pulumi.Input[str]):
1157
+ pulumi.set(self, "metric_name", value)
1158
+
1159
+ @property
1160
+ @pulumi.getter
1161
+ def statistics(self) -> pulumi.Input[str]:
1162
+ """
1163
+ The statistics for this scaling rule specific metrics trigger.
1164
+ """
1165
+ return pulumi.get(self, "statistics")
1166
+
1167
+ @statistics.setter
1168
+ def statistics(self, value: pulumi.Input[str]):
1169
+ pulumi.set(self, "statistics", value)
1170
+
1171
+ @property
1172
+ @pulumi.getter
1173
+ def threshold(self) -> pulumi.Input[float]:
1174
+ """
1175
+ The threshold for this scaling rule specific metrics trigger.
1176
+ """
1177
+ return pulumi.get(self, "threshold")
1178
+
1179
+ @threshold.setter
1180
+ def threshold(self, value: pulumi.Input[float]):
1181
+ pulumi.set(self, "threshold", value)
1182
+
1183
+ @property
1184
+ @pulumi.getter
1185
+ def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs']]]]:
1186
+ """
1187
+ A mapping of tags to assign to the resource.
1188
+ """
1189
+ return pulumi.get(self, "tags")
1190
+
1191
+ @tags.setter
1192
+ def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs']]]]):
1193
+ pulumi.set(self, "tags", value)
1194
+
1195
+
1196
+ @pulumi.input_type
1197
+ class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerConditionTagArgs:
1198
+ def __init__(__self__, *,
1199
+ key: pulumi.Input[str],
1200
+ value: Optional[pulumi.Input[str]] = None):
1201
+ """
1202
+ :param pulumi.Input[str] key: The tag key for this scaling rule specific metrics trigger.
1203
+ :param pulumi.Input[str] value: The tag value for this scaling rule specific metrics trigger.
1204
+ """
1205
+ pulumi.set(__self__, "key", key)
1206
+ if value is not None:
1207
+ pulumi.set(__self__, "value", value)
1208
+
1209
+ @property
1210
+ @pulumi.getter
1211
+ def key(self) -> pulumi.Input[str]:
1212
+ """
1213
+ The tag key for this scaling rule specific metrics trigger.
1214
+ """
1215
+ return pulumi.get(self, "key")
1216
+
1217
+ @key.setter
1218
+ def key(self, value: pulumi.Input[str]):
1219
+ pulumi.set(self, "key", value)
1220
+
1221
+ @property
1222
+ @pulumi.getter
1223
+ def value(self) -> Optional[pulumi.Input[str]]:
1224
+ """
1225
+ The tag value for this scaling rule specific metrics trigger.
1226
+ """
1227
+ return pulumi.get(self, "value")
1228
+
1229
+ @value.setter
1230
+ def value(self, value: Optional[pulumi.Input[str]]):
1231
+ pulumi.set(self, "value", value)
1232
+
1233
+
1234
+ @pulumi.input_type
1235
+ class ClusterNodeGroupAutoScalingPolicyScalingRuleMetricsTriggerTimeConstraintArgs:
1236
+ def __init__(__self__, *,
1237
+ end_time: Optional[pulumi.Input[str]] = None,
1238
+ start_time: Optional[pulumi.Input[str]] = None):
1239
+ """
1240
+ :param pulumi.Input[str] end_time: The end time for this scaling rule specific metrics trigger.
1241
+ :param pulumi.Input[str] start_time: The start time for this scaling rule specific metrics trigger.
1242
+ """
1243
+ if end_time is not None:
1244
+ pulumi.set(__self__, "end_time", end_time)
1245
+ if start_time is not None:
1246
+ pulumi.set(__self__, "start_time", start_time)
1247
+
1248
+ @property
1249
+ @pulumi.getter(name="endTime")
1250
+ def end_time(self) -> Optional[pulumi.Input[str]]:
1251
+ """
1252
+ The end time for this scaling rule specific metrics trigger.
1253
+ """
1254
+ return pulumi.get(self, "end_time")
1255
+
1256
+ @end_time.setter
1257
+ def end_time(self, value: Optional[pulumi.Input[str]]):
1258
+ pulumi.set(self, "end_time", value)
1259
+
1260
+ @property
1261
+ @pulumi.getter(name="startTime")
1262
+ def start_time(self) -> Optional[pulumi.Input[str]]:
1263
+ """
1264
+ The start time for this scaling rule specific metrics trigger.
1265
+ """
1266
+ return pulumi.get(self, "start_time")
1267
+
1268
+ @start_time.setter
1269
+ def start_time(self, value: Optional[pulumi.Input[str]]):
1270
+ pulumi.set(self, "start_time", value)
1271
+
1272
+
1273
+ @pulumi.input_type
1274
+ class ClusterNodeGroupAutoScalingPolicyScalingRuleTimeTriggerArgs:
1275
+ def __init__(__self__, *,
1276
+ launch_time: pulumi.Input[str],
1277
+ end_time: Optional[pulumi.Input[str]] = None,
1278
+ launch_expiration_time: Optional[pulumi.Input[int]] = None,
1279
+ recurrence_type: Optional[pulumi.Input[str]] = None,
1280
+ recurrence_value: Optional[pulumi.Input[str]] = None,
1281
+ start_time: Optional[pulumi.Input[str]] = None):
1282
+ """
1283
+ :param pulumi.Input[str] launch_time: The launch time for this scaling rule specific time trigger.
1284
+ :param pulumi.Input[str] end_time: The end time for this scaling rule specific metrics trigger.
1285
+ :param pulumi.Input[int] launch_expiration_time: The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
1286
+ :param pulumi.Input[str] recurrence_type: The recurrence type for this scaling rule specific time trigger. Valid values: `MINUTELY`, `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY`.
1287
+ :param pulumi.Input[str] recurrence_value: The recurrence value for this scaling rule specific time trigger.
1288
+ :param pulumi.Input[str] start_time: The start time for this scaling rule specific metrics trigger.
1289
+ """
1290
+ pulumi.set(__self__, "launch_time", launch_time)
1291
+ if end_time is not None:
1292
+ pulumi.set(__self__, "end_time", end_time)
1293
+ if launch_expiration_time is not None:
1294
+ pulumi.set(__self__, "launch_expiration_time", launch_expiration_time)
1295
+ if recurrence_type is not None:
1296
+ pulumi.set(__self__, "recurrence_type", recurrence_type)
1297
+ if recurrence_value is not None:
1298
+ pulumi.set(__self__, "recurrence_value", recurrence_value)
1299
+ if start_time is not None:
1300
+ pulumi.set(__self__, "start_time", start_time)
1301
+
1302
+ @property
1303
+ @pulumi.getter(name="launchTime")
1304
+ def launch_time(self) -> pulumi.Input[str]:
1305
+ """
1306
+ The launch time for this scaling rule specific time trigger.
1307
+ """
1308
+ return pulumi.get(self, "launch_time")
1309
+
1310
+ @launch_time.setter
1311
+ def launch_time(self, value: pulumi.Input[str]):
1312
+ pulumi.set(self, "launch_time", value)
1313
+
1314
+ @property
1315
+ @pulumi.getter(name="endTime")
1316
+ def end_time(self) -> Optional[pulumi.Input[str]]:
1317
+ """
1318
+ The end time for this scaling rule specific metrics trigger.
1319
+ """
1320
+ return pulumi.get(self, "end_time")
1321
+
1322
+ @end_time.setter
1323
+ def end_time(self, value: Optional[pulumi.Input[str]]):
1324
+ pulumi.set(self, "end_time", value)
1325
+
1326
+ @property
1327
+ @pulumi.getter(name="launchExpirationTime")
1328
+ def launch_expiration_time(self) -> Optional[pulumi.Input[int]]:
1329
+ """
1330
+ The launch expiration time for this scaling rule specific time trigger. The value should between 0 and 3600.
1331
+ """
1332
+ return pulumi.get(self, "launch_expiration_time")
1333
+
1334
+ @launch_expiration_time.setter
1335
+ def launch_expiration_time(self, value: Optional[pulumi.Input[int]]):
1336
+ pulumi.set(self, "launch_expiration_time", value)
1337
+
1338
+ @property
1339
+ @pulumi.getter(name="recurrenceType")
1340
+ def recurrence_type(self) -> Optional[pulumi.Input[str]]:
1341
+ """
1342
+ The recurrence type for this scaling rule specific time trigger. Valid values: `MINUTELY`, `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY`.
1343
+ """
1344
+ return pulumi.get(self, "recurrence_type")
1345
+
1346
+ @recurrence_type.setter
1347
+ def recurrence_type(self, value: Optional[pulumi.Input[str]]):
1348
+ pulumi.set(self, "recurrence_type", value)
1349
+
1350
+ @property
1351
+ @pulumi.getter(name="recurrenceValue")
1352
+ def recurrence_value(self) -> Optional[pulumi.Input[str]]:
1353
+ """
1354
+ The recurrence value for this scaling rule specific time trigger.
1355
+ """
1356
+ return pulumi.get(self, "recurrence_value")
1357
+
1358
+ @recurrence_value.setter
1359
+ def recurrence_value(self, value: Optional[pulumi.Input[str]]):
1360
+ pulumi.set(self, "recurrence_value", value)
1361
+
1362
+ @property
1363
+ @pulumi.getter(name="startTime")
1364
+ def start_time(self) -> Optional[pulumi.Input[str]]:
1365
+ """
1366
+ The start time for this scaling rule specific metrics trigger.
1367
+ """
1368
+ return pulumi.get(self, "start_time")
1369
+
1370
+ @start_time.setter
1371
+ def start_time(self, value: Optional[pulumi.Input[str]]):
1372
+ pulumi.set(self, "start_time", value)
1373
+
1374
+
721
1375
  @pulumi.input_type
722
1376
  class ClusterNodeGroupCostOptimizedConfigArgs:
723
1377
  def __init__(__self__, *,
724
1378
  on_demand_base_capacity: pulumi.Input[int],
725
1379
  on_demand_percentage_above_base_capacity: pulumi.Input[int],
726
1380
  spot_instance_pools: pulumi.Input[int]):
1381
+ """
1382
+ :param pulumi.Input[int] on_demand_base_capacity: The cost optimized configuration which on demand based capacity.
1383
+ :param pulumi.Input[int] on_demand_percentage_above_base_capacity: The cost optimized configuration which on demand percentage above based capacity.
1384
+ :param pulumi.Input[int] spot_instance_pools: The cost optimized configuration with spot instance pools.
1385
+ """
727
1386
  pulumi.set(__self__, "on_demand_base_capacity", on_demand_base_capacity)
728
1387
  pulumi.set(__self__, "on_demand_percentage_above_base_capacity", on_demand_percentage_above_base_capacity)
729
1388
  pulumi.set(__self__, "spot_instance_pools", spot_instance_pools)
@@ -731,6 +1390,9 @@ class ClusterNodeGroupCostOptimizedConfigArgs:
731
1390
  @property
732
1391
  @pulumi.getter(name="onDemandBaseCapacity")
733
1392
  def on_demand_base_capacity(self) -> pulumi.Input[int]:
1393
+ """
1394
+ The cost optimized configuration which on demand based capacity.
1395
+ """
734
1396
  return pulumi.get(self, "on_demand_base_capacity")
735
1397
 
736
1398
  @on_demand_base_capacity.setter
@@ -740,6 +1402,9 @@ class ClusterNodeGroupCostOptimizedConfigArgs:
740
1402
  @property
741
1403
  @pulumi.getter(name="onDemandPercentageAboveBaseCapacity")
742
1404
  def on_demand_percentage_above_base_capacity(self) -> pulumi.Input[int]:
1405
+ """
1406
+ The cost optimized configuration which on demand percentage above based capacity.
1407
+ """
743
1408
  return pulumi.get(self, "on_demand_percentage_above_base_capacity")
744
1409
 
745
1410
  @on_demand_percentage_above_base_capacity.setter
@@ -749,6 +1414,9 @@ class ClusterNodeGroupCostOptimizedConfigArgs:
749
1414
  @property
750
1415
  @pulumi.getter(name="spotInstancePools")
751
1416
  def spot_instance_pools(self) -> pulumi.Input[int]:
1417
+ """
1418
+ The cost optimized configuration with spot instance pools.
1419
+ """
752
1420
  return pulumi.get(self, "spot_instance_pools")
753
1421
 
754
1422
  @spot_instance_pools.setter
@@ -763,6 +1431,12 @@ class ClusterNodeGroupDataDiskArgs:
763
1431
  size: pulumi.Input[int],
764
1432
  count: Optional[pulumi.Input[int]] = None,
765
1433
  performance_level: Optional[pulumi.Input[str]] = None):
1434
+ """
1435
+ :param pulumi.Input[str] category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1436
+ :param pulumi.Input[int] size: The size of a data disk, at least 40. Unit: GiB.
1437
+ :param pulumi.Input[int] count: The count of a data disk.
1438
+ :param pulumi.Input[str] performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
1439
+ """
766
1440
  pulumi.set(__self__, "category", category)
767
1441
  pulumi.set(__self__, "size", size)
768
1442
  if count is not None:
@@ -773,6 +1447,9 @@ class ClusterNodeGroupDataDiskArgs:
773
1447
  @property
774
1448
  @pulumi.getter
775
1449
  def category(self) -> pulumi.Input[str]:
1450
+ """
1451
+ The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1452
+ """
776
1453
  return pulumi.get(self, "category")
777
1454
 
778
1455
  @category.setter
@@ -782,6 +1459,9 @@ class ClusterNodeGroupDataDiskArgs:
782
1459
  @property
783
1460
  @pulumi.getter
784
1461
  def size(self) -> pulumi.Input[int]:
1462
+ """
1463
+ The size of a data disk, at least 40. Unit: GiB.
1464
+ """
785
1465
  return pulumi.get(self, "size")
786
1466
 
787
1467
  @size.setter
@@ -791,6 +1471,9 @@ class ClusterNodeGroupDataDiskArgs:
791
1471
  @property
792
1472
  @pulumi.getter
793
1473
  def count(self) -> Optional[pulumi.Input[int]]:
1474
+ """
1475
+ The count of a data disk.
1476
+ """
794
1477
  return pulumi.get(self, "count")
795
1478
 
796
1479
  @count.setter
@@ -800,6 +1483,9 @@ class ClusterNodeGroupDataDiskArgs:
800
1483
  @property
801
1484
  @pulumi.getter(name="performanceLevel")
802
1485
  def performance_level(self) -> Optional[pulumi.Input[str]]:
1486
+ """
1487
+ Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
1488
+ """
803
1489
  return pulumi.get(self, "performance_level")
804
1490
 
805
1491
  @performance_level.setter
@@ -812,12 +1498,19 @@ class ClusterNodeGroupSpotBidPriceArgs:
812
1498
  def __init__(__self__, *,
813
1499
  bid_price: pulumi.Input[int],
814
1500
  instance_type: pulumi.Input[str]):
1501
+ """
1502
+ :param pulumi.Input[int] bid_price: The spot bid price of a PayAsYouGo instance.
1503
+ :param pulumi.Input[str] instance_type: Host Ecs instance type.
1504
+ """
815
1505
  pulumi.set(__self__, "bid_price", bid_price)
816
1506
  pulumi.set(__self__, "instance_type", instance_type)
817
1507
 
818
1508
  @property
819
1509
  @pulumi.getter(name="bidPrice")
820
1510
  def bid_price(self) -> pulumi.Input[int]:
1511
+ """
1512
+ The spot bid price of a PayAsYouGo instance.
1513
+ """
821
1514
  return pulumi.get(self, "bid_price")
822
1515
 
823
1516
  @bid_price.setter
@@ -827,6 +1520,9 @@ class ClusterNodeGroupSpotBidPriceArgs:
827
1520
  @property
828
1521
  @pulumi.getter(name="instanceType")
829
1522
  def instance_type(self) -> pulumi.Input[str]:
1523
+ """
1524
+ Host Ecs instance type.
1525
+ """
830
1526
  return pulumi.get(self, "instance_type")
831
1527
 
832
1528
  @instance_type.setter
@@ -942,6 +1638,12 @@ class ClusterNodeGroupSystemDiskArgs:
942
1638
  size: pulumi.Input[int],
943
1639
  count: Optional[pulumi.Input[int]] = None,
944
1640
  performance_level: Optional[pulumi.Input[str]] = None):
1641
+ """
1642
+ :param pulumi.Input[str] category: The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1643
+ :param pulumi.Input[int] size: The size of a data disk, at least 40. Unit: GiB.
1644
+ :param pulumi.Input[int] count: The count of a data disk.
1645
+ :param pulumi.Input[str] performance_level: Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
1646
+ """
945
1647
  pulumi.set(__self__, "category", category)
946
1648
  pulumi.set(__self__, "size", size)
947
1649
  if count is not None:
@@ -952,6 +1654,9 @@ class ClusterNodeGroupSystemDiskArgs:
952
1654
  @property
953
1655
  @pulumi.getter
954
1656
  def category(self) -> pulumi.Input[str]:
1657
+ """
1658
+ The type of the data disk. Valid values: `cloud_efficiency` and `cloud_essd`.
1659
+ """
955
1660
  return pulumi.get(self, "category")
956
1661
 
957
1662
  @category.setter
@@ -961,6 +1666,9 @@ class ClusterNodeGroupSystemDiskArgs:
961
1666
  @property
962
1667
  @pulumi.getter
963
1668
  def size(self) -> pulumi.Input[int]:
1669
+ """
1670
+ The size of a data disk, at least 40. Unit: GiB.
1671
+ """
964
1672
  return pulumi.get(self, "size")
965
1673
 
966
1674
  @size.setter
@@ -970,6 +1678,9 @@ class ClusterNodeGroupSystemDiskArgs:
970
1678
  @property
971
1679
  @pulumi.getter
972
1680
  def count(self) -> Optional[pulumi.Input[int]]:
1681
+ """
1682
+ The count of a data disk.
1683
+ """
973
1684
  return pulumi.get(self, "count")
974
1685
 
975
1686
  @count.setter
@@ -979,6 +1690,9 @@ class ClusterNodeGroupSystemDiskArgs:
979
1690
  @property
980
1691
  @pulumi.getter(name="performanceLevel")
981
1692
  def performance_level(self) -> Optional[pulumi.Input[str]]:
1693
+ """
1694
+ Worker node data disk performance level, when `category` values `cloud_essd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity.
1695
+ """
982
1696
  return pulumi.get(self, "performance_level")
983
1697
 
984
1698
  @performance_level.setter