pulumi-alicloud 3.78.0a1746767796__py3-none-any.whl → 3.78.0a1747367664__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 (146) hide show
  1. pulumi_alicloud/__init__.py +32 -0
  2. pulumi_alicloud/adb/cluster.py +12 -12
  3. pulumi_alicloud/alb/health_check_template.py +233 -93
  4. pulumi_alicloud/alb/load_balancer.py +110 -0
  5. pulumi_alicloud/amqp/exchange.py +250 -159
  6. pulumi_alicloud/apigateway/_inputs.py +23 -3
  7. pulumi_alicloud/apigateway/api.py +7 -7
  8. pulumi_alicloud/apigateway/backend.py +8 -8
  9. pulumi_alicloud/apigateway/outputs.py +16 -2
  10. pulumi_alicloud/arms/remote_write.py +2 -2
  11. pulumi_alicloud/bp/studio_application.py +2 -2
  12. pulumi_alicloud/cassandra/cluster.py +2 -2
  13. pulumi_alicloud/cassandra/data_center.py +2 -2
  14. pulumi_alicloud/cdn/fc_trigger.py +2 -2
  15. pulumi_alicloud/cen/_inputs.py +78 -27
  16. pulumi_alicloud/cen/bandwidth_limit.py +7 -7
  17. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +6 -6
  18. pulumi_alicloud/cen/outputs.py +52 -18
  19. pulumi_alicloud/cen/traffic_marking_policy.py +49 -9
  20. pulumi_alicloud/chatbot/publish_task.py +2 -2
  21. pulumi_alicloud/cloudfirewall/__init__.py +1 -0
  22. pulumi_alicloud/cloudfirewall/ips_config.py +523 -0
  23. pulumi_alicloud/cr/registry_enterprise_instance.py +4 -4
  24. pulumi_alicloud/das/switch_das_pro.py +6 -2
  25. pulumi_alicloud/dataworks/di_alarm_rule.py +6 -4
  26. pulumi_alicloud/dataworks/di_job.py +8 -6
  27. pulumi_alicloud/dataworks/project_member.py +2 -2
  28. pulumi_alicloud/ddos/domain_resource.py +19 -9
  29. pulumi_alicloud/dms/enterprise_logic_database.py +2 -2
  30. pulumi_alicloud/dms/enterprise_proxy_access.py +2 -2
  31. pulumi_alicloud/drds/instance.py +12 -8
  32. pulumi_alicloud/ebs/dedicated_block_storage_cluster.py +2 -2
  33. pulumi_alicloud/ecs/activation.py +2 -2
  34. pulumi_alicloud/ecs/capacity_reservation.py +2 -2
  35. pulumi_alicloud/ecs/ecs_disk_attachment.py +2 -2
  36. pulumi_alicloud/ecs/ecs_invocation.py +12 -6
  37. pulumi_alicloud/ecs/ecs_network_interface_permission.py +2 -2
  38. pulumi_alicloud/ecs/ecs_snapshot_group.py +2 -2
  39. pulumi_alicloud/ecs/elasticity_assurance.py +2 -2
  40. pulumi_alicloud/ecs/image_copy.py +2 -2
  41. pulumi_alicloud/ecs/image_export.py +2 -2
  42. pulumi_alicloud/ecs/reserved_instance.py +2 -2
  43. pulumi_alicloud/ecs/snapshot.py +8 -4
  44. pulumi_alicloud/ecs/storage_capacity_unit.py +2 -2
  45. pulumi_alicloud/emr/cluster.py +4 -4
  46. pulumi_alicloud/esa/edge_container_app_record.py +10 -2
  47. pulumi_alicloud/esa/http_request_header_modification_rule.py +12 -4
  48. pulumi_alicloud/esa/http_response_header_modification_rule.py +12 -4
  49. pulumi_alicloud/esa/https_basic_configuration.py +12 -4
  50. pulumi_alicloud/esa/network_optimization.py +10 -2
  51. pulumi_alicloud/esa/origin_pool.py +10 -10
  52. pulumi_alicloud/esa/redirect_rule.py +12 -4
  53. pulumi_alicloud/esa/rewrite_url_rule.py +12 -4
  54. pulumi_alicloud/ess/outputs.py +107 -0
  55. pulumi_alicloud/ess/scaling_group.py +47 -0
  56. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  57. pulumi_alicloud/fnf/execution.py +2 -2
  58. pulumi_alicloud/fnf/flow.py +2 -2
  59. pulumi_alicloud/fnf/schedule.py +2 -2
  60. pulumi_alicloud/gpdb/elastic_instance.py +8 -8
  61. pulumi_alicloud/hbr/ecs_backup_plan.py +10 -2
  62. pulumi_alicloud/hbr/hana_backup_client.py +2 -2
  63. pulumi_alicloud/hbr/hana_backup_plan.py +2 -2
  64. pulumi_alicloud/hbr/hana_instance.py +2 -2
  65. pulumi_alicloud/hbr/nas_backup_plan.py +10 -2
  66. pulumi_alicloud/hbr/oss_backup_plan.py +10 -2
  67. pulumi_alicloud/hbr/ots_backup_plan.py +10 -2
  68. pulumi_alicloud/hbr/restore_job.py +2 -2
  69. pulumi_alicloud/hbr/server_backup_plan.py +10 -2
  70. pulumi_alicloud/kms/_inputs.py +12 -12
  71. pulumi_alicloud/kms/instance.py +80 -47
  72. pulumi_alicloud/kms/outputs.py +8 -8
  73. pulumi_alicloud/kvstore/instance.py +21 -7
  74. pulumi_alicloud/lindorm/instance.py +101 -7
  75. pulumi_alicloud/log/etl.py +2 -2
  76. pulumi_alicloud/log/ingestion.py +4 -6
  77. pulumi_alicloud/log/oss_export.py +4 -6
  78. pulumi_alicloud/log/oss_shipper.py +2 -2
  79. pulumi_alicloud/mse/gateway.py +2 -2
  80. pulumi_alicloud/mse/nacos_config.py +2 -0
  81. pulumi_alicloud/mse/znode.py +2 -2
  82. pulumi_alicloud/nas/mount_target.py +6 -6
  83. pulumi_alicloud/nas/snapshot.py +2 -2
  84. pulumi_alicloud/oos/default_patch_baseline.py +2 -2
  85. pulumi_alicloud/oos/secret_parameter.py +2 -2
  86. pulumi_alicloud/oss/bucket_replication.py +8 -8
  87. pulumi_alicloud/pai/__init__.py +3 -0
  88. pulumi_alicloud/pai/_inputs.py +108 -0
  89. pulumi_alicloud/pai/outputs.py +64 -0
  90. pulumi_alicloud/pai/workspace_member.py +393 -0
  91. pulumi_alicloud/pai/workspace_model.py +792 -0
  92. pulumi_alicloud/pai/workspace_model_version.py +1129 -0
  93. pulumi_alicloud/polardb/cluster.py +68 -7
  94. pulumi_alicloud/polardb/global_database_network.py +2 -2
  95. pulumi_alicloud/polardb/parameter_group.py +2 -2
  96. pulumi_alicloud/pulumi-plugin.json +1 -1
  97. pulumi_alicloud/ram/group_policy_attachment.py +2 -2
  98. pulumi_alicloud/ram/role.py +2 -2
  99. pulumi_alicloud/ram/role_attachment.py +6 -4
  100. pulumi_alicloud/rds/instance.py +47 -47
  101. pulumi_alicloud/rds/rds_clone_db_instance.py +30 -30
  102. pulumi_alicloud/rds/rds_upgrade_db_instance.py +2 -2
  103. pulumi_alicloud/resourcemanager/account.py +315 -116
  104. pulumi_alicloud/rocketmq/group.py +2 -2
  105. pulumi_alicloud/ros/change_set.py +2 -2
  106. pulumi_alicloud/ros/stack.py +2 -2
  107. pulumi_alicloud/ros/stack_group.py +2 -2
  108. pulumi_alicloud/ros/stack_instance.py +2 -2
  109. pulumi_alicloud/ros/template_scratch.py +2 -2
  110. pulumi_alicloud/scdn/domain.py +2 -2
  111. pulumi_alicloud/securitycenter/service_linked_role.py +2 -2
  112. pulumi_alicloud/servicecatalog/provisioned_product.py +2 -2
  113. pulumi_alicloud/slb/_inputs.py +44 -0
  114. pulumi_alicloud/slb/acl_entry_attachment.py +2 -2
  115. pulumi_alicloud/slb/ca_certificate.py +4 -0
  116. pulumi_alicloud/slb/listener.py +46 -89
  117. pulumi_alicloud/slb/master_slave_server_group.py +17 -35
  118. pulumi_alicloud/slb/outputs.py +26 -0
  119. pulumi_alicloud/sms/short_url.py +2 -2
  120. pulumi_alicloud/threatdetection/backup_policy.py +2 -2
  121. pulumi_alicloud/threatdetection/honeypot_probe.py +2 -2
  122. pulumi_alicloud/threatdetection/instance.py +28 -21
  123. pulumi_alicloud/threatdetection/outputs.py +98 -6
  124. pulumi_alicloud/threatdetection/vul_whitelist.py +2 -2
  125. pulumi_alicloud/threatdetection/web_lock_config.py +2 -2
  126. pulumi_alicloud/tsdb/instance.py +2 -2
  127. pulumi_alicloud/vpc/common_bandwith_package.py +28 -14
  128. pulumi_alicloud/vpc/forward_entry.py +4 -4
  129. pulumi_alicloud/vpc/gateway_route_table_attachment.py +2 -2
  130. pulumi_alicloud/vpc/ha_vip.py +4 -4
  131. pulumi_alicloud/vpc/ha_vipv2.py +4 -0
  132. pulumi_alicloud/vpc/ipv4_gateway.py +78 -37
  133. pulumi_alicloud/vpc/ipv6_gateway.py +2 -2
  134. pulumi_alicloud/vpc/nat_ip.py +2 -2
  135. pulumi_alicloud/vpc/prefix_list.py +2 -2
  136. pulumi_alicloud/vpc/route_entry.py +6 -2
  137. pulumi_alicloud/vpn/gateway_vco_route.py +2 -2
  138. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  139. pulumi_alicloud/vpn/pbr_route_entry.py +2 -2
  140. pulumi_alicloud/vpn/route_entry.py +8 -8
  141. pulumi_alicloud/wafv3/instance.py +2 -2
  142. pulumi_alicloud/wafv3/outputs.py +11 -0
  143. {pulumi_alicloud-3.78.0a1746767796.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/METADATA +1 -1
  144. {pulumi_alicloud-3.78.0a1746767796.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/RECORD +146 -142
  145. {pulumi_alicloud-3.78.0a1746767796.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/WHEEL +1 -1
  146. {pulumi_alicloud-3.78.0a1746767796.dist-info → pulumi_alicloud-3.78.0a1747367664.dist-info}/top_level.txt +0 -0
@@ -268,6 +268,7 @@ class HttpResponseHeaderModificationRule(pulumi.CustomResource):
268
268
  ```python
269
269
  import pulumi
270
270
  import pulumi_alicloud as alicloud
271
+ import pulumi_random as random
271
272
 
272
273
  config = pulumi.Config()
273
274
  name = config.get("name")
@@ -281,12 +282,15 @@ class HttpResponseHeaderModificationRule(pulumi.CustomResource):
281
282
  coverage="overseas",
282
283
  auto_pay=True,
283
284
  plan_name="high")
285
+ default = random.index.Integer("default",
286
+ min=10000,
287
+ max=99999)
284
288
  resource_site_http_response_header_modification_rule_example = alicloud.esa.Site("resource_Site_HttpResponseHeaderModificationRule_example",
285
- site_name="gositecdn.cn",
289
+ site_name=f"gositecdn-{default['result']}.cn",
286
290
  instance_id=resource_http_response_header_modification_rule_example.id,
287
291
  coverage="overseas",
288
292
  access_type="NS")
289
- default = alicloud.esa.HttpResponseHeaderModificationRule("default",
293
+ default_http_response_header_modification_rule = alicloud.esa.HttpResponseHeaderModificationRule("default",
290
294
  rule_enable="on",
291
295
  response_header_modifications=[
292
296
  {
@@ -347,6 +351,7 @@ class HttpResponseHeaderModificationRule(pulumi.CustomResource):
347
351
  ```python
348
352
  import pulumi
349
353
  import pulumi_alicloud as alicloud
354
+ import pulumi_random as random
350
355
 
351
356
  config = pulumi.Config()
352
357
  name = config.get("name")
@@ -360,12 +365,15 @@ class HttpResponseHeaderModificationRule(pulumi.CustomResource):
360
365
  coverage="overseas",
361
366
  auto_pay=True,
362
367
  plan_name="high")
368
+ default = random.index.Integer("default",
369
+ min=10000,
370
+ max=99999)
363
371
  resource_site_http_response_header_modification_rule_example = alicloud.esa.Site("resource_Site_HttpResponseHeaderModificationRule_example",
364
- site_name="gositecdn.cn",
372
+ site_name=f"gositecdn-{default['result']}.cn",
365
373
  instance_id=resource_http_response_header_modification_rule_example.id,
366
374
  coverage="overseas",
367
375
  access_type="NS")
368
- default = alicloud.esa.HttpResponseHeaderModificationRule("default",
376
+ default_http_response_header_modification_rule = alicloud.esa.HttpResponseHeaderModificationRule("default",
369
377
  rule_enable="on",
370
378
  response_header_modifications=[
371
379
  {
@@ -623,6 +623,7 @@ class HttpsBasicConfiguration(pulumi.CustomResource):
623
623
  ```python
624
624
  import pulumi
625
625
  import pulumi_alicloud as alicloud
626
+ import pulumi_random as random
626
627
 
627
628
  config = pulumi.Config()
628
629
  name = config.get("name")
@@ -636,12 +637,15 @@ class HttpsBasicConfiguration(pulumi.CustomResource):
636
637
  coverage="overseas",
637
638
  auto_pay=True,
638
639
  plan_name="high")
640
+ default = random.index.Integer("default",
641
+ min=10000,
642
+ max=99999)
639
643
  resource_http_basic_configuration_set_example = alicloud.esa.Site("resource_HttpBasicConfiguration_set_example",
640
- site_name="gositecdn.cn",
644
+ site_name=f"gositecdn-{default['result']}.cn",
641
645
  instance_id=example.id,
642
646
  coverage="overseas",
643
647
  access_type="NS")
644
- default = alicloud.esa.HttpsBasicConfiguration("default",
648
+ default_https_basic_configuration = alicloud.esa.HttpsBasicConfiguration("default",
645
649
  https="on",
646
650
  rule="true",
647
651
  rule_name="example2",
@@ -717,6 +721,7 @@ class HttpsBasicConfiguration(pulumi.CustomResource):
717
721
  ```python
718
722
  import pulumi
719
723
  import pulumi_alicloud as alicloud
724
+ import pulumi_random as random
720
725
 
721
726
  config = pulumi.Config()
722
727
  name = config.get("name")
@@ -730,12 +735,15 @@ class HttpsBasicConfiguration(pulumi.CustomResource):
730
735
  coverage="overseas",
731
736
  auto_pay=True,
732
737
  plan_name="high")
738
+ default = random.index.Integer("default",
739
+ min=10000,
740
+ max=99999)
733
741
  resource_http_basic_configuration_set_example = alicloud.esa.Site("resource_HttpBasicConfiguration_set_example",
734
- site_name="gositecdn.cn",
742
+ site_name=f"gositecdn-{default['result']}.cn",
735
743
  instance_id=example.id,
736
744
  coverage="overseas",
737
745
  access_type="NS")
738
- default = alicloud.esa.HttpsBasicConfiguration("default",
746
+ default_https_basic_configuration = alicloud.esa.HttpsBasicConfiguration("default",
739
747
  https="on",
740
748
  rule="true",
741
749
  rule_name="example2",
@@ -399,10 +399,14 @@ class NetworkOptimization(pulumi.CustomResource):
399
399
  ```python
400
400
  import pulumi
401
401
  import pulumi_alicloud as alicloud
402
+ import pulumi_random as random
402
403
 
403
404
  default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
405
+ default_integer = random.index.Integer("default",
406
+ min=10000,
407
+ max=99999)
404
408
  default_site = alicloud.esa.Site("default",
405
- site_name="gositecdn.cn",
409
+ site_name=f"gositecdn-{default_integer['result']}.cn",
406
410
  instance_id=default.sites[0].instance_id,
407
411
  coverage="overseas",
408
412
  access_type="NS")
@@ -460,10 +464,14 @@ class NetworkOptimization(pulumi.CustomResource):
460
464
  ```python
461
465
  import pulumi
462
466
  import pulumi_alicloud as alicloud
467
+ import pulumi_random as random
463
468
 
464
469
  default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
470
+ default_integer = random.index.Integer("default",
471
+ min=10000,
472
+ max=99999)
465
473
  default_site = alicloud.esa.Site("default",
466
- site_name="gositecdn.cn",
474
+ site_name=f"gositecdn-{default_integer['result']}.cn",
467
475
  instance_id=default.sites[0].instance_id,
468
476
  coverage="overseas",
469
477
  access_type="NS")
@@ -202,14 +202,14 @@ class OriginPool(pulumi.CustomResource):
202
202
  ```python
203
203
  import pulumi
204
204
  import pulumi_alicloud as alicloud
205
+ import pulumi_random as random
205
206
 
206
- config = pulumi.Config()
207
- name = config.get("name")
208
- if name is None:
209
- name = "example.site"
210
207
  default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
208
+ default_integer = random.index.Integer("default",
209
+ min=10000,
210
+ max=99999)
211
211
  default_site = alicloud.esa.Site("default",
212
- site_name=name,
212
+ site_name=f"gositecdn-{default_integer['result']}.cn",
213
213
  instance_id=default.sites[0].instance_id,
214
214
  coverage="overseas",
215
215
  access_type="NS")
@@ -299,14 +299,14 @@ class OriginPool(pulumi.CustomResource):
299
299
  ```python
300
300
  import pulumi
301
301
  import pulumi_alicloud as alicloud
302
+ import pulumi_random as random
302
303
 
303
- config = pulumi.Config()
304
- name = config.get("name")
305
- if name is None:
306
- name = "example.site"
307
304
  default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
305
+ default_integer = random.index.Integer("default",
306
+ min=10000,
307
+ max=99999)
308
308
  default_site = alicloud.esa.Site("default",
309
- site_name=name,
309
+ site_name=f"gositecdn-{default_integer['result']}.cn",
310
310
  instance_id=default.sites[0].instance_id,
311
311
  coverage="overseas",
312
312
  access_type="NS")
@@ -414,6 +414,7 @@ class RedirectRule(pulumi.CustomResource):
414
414
  ```python
415
415
  import pulumi
416
416
  import pulumi_alicloud as alicloud
417
+ import pulumi_random as random
417
418
 
418
419
  config = pulumi.Config()
419
420
  name = config.get("name")
@@ -427,12 +428,15 @@ class RedirectRule(pulumi.CustomResource):
427
428
  coverage="overseas",
428
429
  auto_pay=True,
429
430
  plan_name="high")
431
+ default = random.index.Integer("default",
432
+ min=10000,
433
+ max=99999)
430
434
  resource_site_redirect_rule_example = alicloud.esa.Site("resource_Site_RedirectRule_example",
431
- site_name="gositecdn.cn",
435
+ site_name=f"gositecdn-{default['result']}.cn",
432
436
  instance_id=resource_redirect_rule_example.id,
433
437
  coverage="overseas",
434
438
  access_type="NS")
435
- default = alicloud.esa.RedirectRule("default",
439
+ default_redirect_rule = alicloud.esa.RedirectRule("default",
436
440
  status_code="301",
437
441
  rule_name="example",
438
442
  site_id=resource_site_redirect_rule_example.id,
@@ -497,6 +501,7 @@ class RedirectRule(pulumi.CustomResource):
497
501
  ```python
498
502
  import pulumi
499
503
  import pulumi_alicloud as alicloud
504
+ import pulumi_random as random
500
505
 
501
506
  config = pulumi.Config()
502
507
  name = config.get("name")
@@ -510,12 +515,15 @@ class RedirectRule(pulumi.CustomResource):
510
515
  coverage="overseas",
511
516
  auto_pay=True,
512
517
  plan_name="high")
518
+ default = random.index.Integer("default",
519
+ min=10000,
520
+ max=99999)
513
521
  resource_site_redirect_rule_example = alicloud.esa.Site("resource_Site_RedirectRule_example",
514
- site_name="gositecdn.cn",
522
+ site_name=f"gositecdn-{default['result']}.cn",
515
523
  instance_id=resource_redirect_rule_example.id,
516
524
  coverage="overseas",
517
525
  access_type="NS")
518
- default = alicloud.esa.RedirectRule("default",
526
+ default_redirect_rule = alicloud.esa.RedirectRule("default",
519
527
  status_code="301",
520
528
  rule_name="example",
521
529
  site_id=resource_site_redirect_rule_example.id,
@@ -386,6 +386,7 @@ class RewriteUrlRule(pulumi.CustomResource):
386
386
  ```python
387
387
  import pulumi
388
388
  import pulumi_alicloud as alicloud
389
+ import pulumi_random as random
389
390
 
390
391
  config = pulumi.Config()
391
392
  name = config.get("name")
@@ -399,12 +400,15 @@ class RewriteUrlRule(pulumi.CustomResource):
399
400
  coverage="overseas",
400
401
  auto_pay=True,
401
402
  plan_name="high")
403
+ default = random.index.Integer("default",
404
+ min=10000,
405
+ max=99999)
402
406
  resource_rewrite_url_rule_site_example = alicloud.esa.Site("resource_RewriteUrlRule_Site_example",
403
- site_name="gositecdn.cn",
407
+ site_name=f"gositecdn-{default['result']}.cn",
404
408
  instance_id=resource_rewrite_url_rule_rate_plan_instance_example.id,
405
409
  coverage="overseas",
406
410
  access_type="NS")
407
- default = alicloud.esa.RewriteUrlRule("default",
411
+ default_rewrite_url_rule = alicloud.esa.RewriteUrlRule("default",
408
412
  rewrite_uri_type="static",
409
413
  rewrite_query_string_type="static",
410
414
  site_id=resource_rewrite_url_rule_site_example.id,
@@ -461,6 +465,7 @@ class RewriteUrlRule(pulumi.CustomResource):
461
465
  ```python
462
466
  import pulumi
463
467
  import pulumi_alicloud as alicloud
468
+ import pulumi_random as random
464
469
 
465
470
  config = pulumi.Config()
466
471
  name = config.get("name")
@@ -474,12 +479,15 @@ class RewriteUrlRule(pulumi.CustomResource):
474
479
  coverage="overseas",
475
480
  auto_pay=True,
476
481
  plan_name="high")
482
+ default = random.index.Integer("default",
483
+ min=10000,
484
+ max=99999)
477
485
  resource_rewrite_url_rule_site_example = alicloud.esa.Site("resource_RewriteUrlRule_Site_example",
478
- site_name="gositecdn.cn",
486
+ site_name=f"gositecdn-{default['result']}.cn",
479
487
  instance_id=resource_rewrite_url_rule_rate_plan_instance_example.id,
480
488
  coverage="overseas",
481
489
  access_type="NS")
482
- default = alicloud.esa.RewriteUrlRule("default",
490
+ default_rewrite_url_rule = alicloud.esa.RewriteUrlRule("default",
483
491
  rewrite_uri_type="static",
484
492
  rewrite_query_string_type="static",
485
493
  site_id=resource_rewrite_url_rule_site_example.id,
@@ -55,6 +55,7 @@ __all__ = [
55
55
  'GetScalingConfigurationsConfigurationInstancePatternInfoResult',
56
56
  'GetScalingConfigurationsConfigurationSpotPriceLimitResult',
57
57
  'GetScalingGroupsGroupResult',
58
+ 'GetScalingGroupsGroupLaunchTemplateOverrideResult',
58
59
  'GetScalingRulesRuleResult',
59
60
  'GetScheduledTasksTaskResult',
60
61
  ]
@@ -3478,6 +3479,11 @@ class GetScalingGroupsGroupResult(dict):
3478
3479
  active_scaling_configuration: builtins.str,
3479
3480
  allocation_strategy: builtins.str,
3480
3481
  az_balance: builtins.bool,
3482
+ capacity_options_compensate_with_on_demand: builtins.bool,
3483
+ capacity_options_on_demand_base_capacity: builtins.int,
3484
+ capacity_options_on_demand_percentage_above_base_capacity: builtins.int,
3485
+ capacity_options_spot_auto_replace_on_demand: builtins.bool,
3486
+ compensate_with_on_demand: builtins.bool,
3481
3487
  cooldown_time: builtins.int,
3482
3488
  creation_time: builtins.str,
3483
3489
  db_instance_ids: Sequence[builtins.str],
@@ -3489,6 +3495,7 @@ class GetScalingGroupsGroupResult(dict):
3489
3495
  id: builtins.str,
3490
3496
  init_capacity: builtins.int,
3491
3497
  launch_template_id: builtins.str,
3498
+ launch_template_overrides: Sequence['outputs.GetScalingGroupsGroupLaunchTemplateOverrideResult'],
3492
3499
  launch_template_version: builtins.str,
3493
3500
  lifecycle_state: builtins.str,
3494
3501
  load_balancer_ids: Sequence[builtins.str],
@@ -3530,6 +3537,11 @@ class GetScalingGroupsGroupResult(dict):
3530
3537
  :param builtins.str active_scaling_configuration: Active scaling configuration for scaling group.
3531
3538
  :param builtins.str allocation_strategy: (Available since v1.242.0) The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The allocation policy applies to pay-as-you-go and preemptible instances.
3532
3539
  :param builtins.bool az_balance: (Available since v1.242.0) Indicates whether instances in the scaling group are evenly distributed across multiple zones.
3540
+ :param builtins.bool capacity_options_compensate_with_on_demand: (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3541
+ :param builtins.int capacity_options_on_demand_base_capacity: (Available since v1.249.0) The minimum number of pay-as-you-go instances required in the scaling group. When the actual number of pay-as-you-go instances drops below the minimum threshold, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
3542
+ :param builtins.int capacity_options_on_demand_percentage_above_base_capacity: (Available since v1.249.0) The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. OnDemandBaseCapacity specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100.
3543
+ :param builtins.bool capacity_options_spot_auto_replace_on_demand: (Available since v1.249.0) Indicates whether pay-as-you-go instances can be replaced with preemptible instances. If you specify CompensateWithOnDemand, it may result in a higher percentage of pay-as-you-go instances compared to the value of OnDemandPercentageAboveBaseCapacity. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify CompensateWithOnDemand, Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
3544
+ :param builtins.bool compensate_with_on_demand: (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3533
3545
  :param builtins.int cooldown_time: Default cooldown time of scaling group.
3534
3546
  :param builtins.str creation_time: Creation time of scaling group.
3535
3547
  :param Sequence[builtins.str] db_instance_ids: Db instances id which the ECS instance attached to.
@@ -3541,6 +3553,7 @@ class GetScalingGroupsGroupResult(dict):
3541
3553
  :param builtins.str id: ID of the scaling group.
3542
3554
  :param builtins.int init_capacity: (Available since v1.242.0) The number of instances that are in the Initialized state and ready to be scaled out in the scaling group.
3543
3555
  :param builtins.str launch_template_id: Active launch template ID for scaling group.
3556
+ :param Sequence['GetScalingGroupsGroupLaunchTemplateOverrideArgs'] launch_template_overrides: (Available since v1.249.0) The instance types that are specified by using the Extend Launch Template feature.
3544
3557
  :param builtins.str launch_template_version: Version of active launch template.
3545
3558
  :param builtins.str lifecycle_state: Lifecycle state of scaling group.
3546
3559
  :param Sequence[builtins.str] load_balancer_ids: Slb instances id which the ECS instance attached to.
@@ -3582,6 +3595,11 @@ class GetScalingGroupsGroupResult(dict):
3582
3595
  pulumi.set(__self__, "active_scaling_configuration", active_scaling_configuration)
3583
3596
  pulumi.set(__self__, "allocation_strategy", allocation_strategy)
3584
3597
  pulumi.set(__self__, "az_balance", az_balance)
3598
+ pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
3599
+ pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
3600
+ pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
3601
+ pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
3602
+ pulumi.set(__self__, "compensate_with_on_demand", compensate_with_on_demand)
3585
3603
  pulumi.set(__self__, "cooldown_time", cooldown_time)
3586
3604
  pulumi.set(__self__, "creation_time", creation_time)
3587
3605
  pulumi.set(__self__, "db_instance_ids", db_instance_ids)
@@ -3593,6 +3611,7 @@ class GetScalingGroupsGroupResult(dict):
3593
3611
  pulumi.set(__self__, "id", id)
3594
3612
  pulumi.set(__self__, "init_capacity", init_capacity)
3595
3613
  pulumi.set(__self__, "launch_template_id", launch_template_id)
3614
+ pulumi.set(__self__, "launch_template_overrides", launch_template_overrides)
3596
3615
  pulumi.set(__self__, "launch_template_version", launch_template_version)
3597
3616
  pulumi.set(__self__, "lifecycle_state", lifecycle_state)
3598
3617
  pulumi.set(__self__, "load_balancer_ids", load_balancer_ids)
@@ -3662,6 +3681,46 @@ class GetScalingGroupsGroupResult(dict):
3662
3681
  """
3663
3682
  return pulumi.get(self, "az_balance")
3664
3683
 
3684
+ @property
3685
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
3686
+ def capacity_options_compensate_with_on_demand(self) -> builtins.bool:
3687
+ """
3688
+ (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3689
+ """
3690
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
3691
+
3692
+ @property
3693
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
3694
+ def capacity_options_on_demand_base_capacity(self) -> builtins.int:
3695
+ """
3696
+ (Available since v1.249.0) The minimum number of pay-as-you-go instances required in the scaling group. When the actual number of pay-as-you-go instances drops below the minimum threshold, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000.
3697
+ """
3698
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
3699
+
3700
+ @property
3701
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
3702
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> builtins.int:
3703
+ """
3704
+ (Available since v1.249.0) The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. OnDemandBaseCapacity specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100.
3705
+ """
3706
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
3707
+
3708
+ @property
3709
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
3710
+ def capacity_options_spot_auto_replace_on_demand(self) -> builtins.bool:
3711
+ """
3712
+ (Available since v1.249.0) Indicates whether pay-as-you-go instances can be replaced with preemptible instances. If you specify CompensateWithOnDemand, it may result in a higher percentage of pay-as-you-go instances compared to the value of OnDemandPercentageAboveBaseCapacity. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify CompensateWithOnDemand, Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
3713
+ """
3714
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
3715
+
3716
+ @property
3717
+ @pulumi.getter(name="compensateWithOnDemand")
3718
+ def compensate_with_on_demand(self) -> builtins.bool:
3719
+ """
3720
+ (Available since v1.249.0) Indicates whether pay-as-you-go instances can be automatically created to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is available only if you set MultiAZPolicy to COST_OPTIMIZED. Valid values: true, false.
3721
+ """
3722
+ return pulumi.get(self, "compensate_with_on_demand")
3723
+
3665
3724
  @property
3666
3725
  @pulumi.getter(name="cooldownTime")
3667
3726
  def cooldown_time(self) -> builtins.int:
@@ -3750,6 +3809,14 @@ class GetScalingGroupsGroupResult(dict):
3750
3809
  """
3751
3810
  return pulumi.get(self, "launch_template_id")
3752
3811
 
3812
+ @property
3813
+ @pulumi.getter(name="launchTemplateOverrides")
3814
+ def launch_template_overrides(self) -> Sequence['outputs.GetScalingGroupsGroupLaunchTemplateOverrideResult']:
3815
+ """
3816
+ (Available since v1.249.0) The instance types that are specified by using the Extend Launch Template feature.
3817
+ """
3818
+ return pulumi.get(self, "launch_template_overrides")
3819
+
3753
3820
  @property
3754
3821
  @pulumi.getter(name="launchTemplateVersion")
3755
3822
  def launch_template_version(self) -> builtins.str:
@@ -4039,6 +4106,46 @@ class GetScalingGroupsGroupResult(dict):
4039
4106
  return pulumi.get(self, "vswitch_ids")
4040
4107
 
4041
4108
 
4109
+ @pulumi.output_type
4110
+ class GetScalingGroupsGroupLaunchTemplateOverrideResult(dict):
4111
+ def __init__(__self__, *,
4112
+ instance_type: builtins.str,
4113
+ spot_price_limit: builtins.float,
4114
+ weighted_capacity: builtins.int):
4115
+ """
4116
+ :param builtins.str instance_type: (Available since v1.249.0) The instance type. The instance type that is specified by this parameter overwrites the instance type that is specified in the launch template.
4117
+ :param builtins.float spot_price_limit: (Available since v1.249.0) The maximum bid price of instance type N that is specified by LaunchTemplateOverride.N.InstanceType. You can specify N instance types by using the Extend Launch Template feature. Valid values of N: 1 to 10.
4118
+ :param builtins.int weighted_capacity: (Available since v1.249.0) The weight of the instance type. The value of this parameter indicates the capacity of a single instance of the specified instance type in the scaling group. A greater weight indicates that a smaller number of instances of the specified instance type are required to reach the expected capacity.
4119
+ """
4120
+ pulumi.set(__self__, "instance_type", instance_type)
4121
+ pulumi.set(__self__, "spot_price_limit", spot_price_limit)
4122
+ pulumi.set(__self__, "weighted_capacity", weighted_capacity)
4123
+
4124
+ @property
4125
+ @pulumi.getter(name="instanceType")
4126
+ def instance_type(self) -> builtins.str:
4127
+ """
4128
+ (Available since v1.249.0) The instance type. The instance type that is specified by this parameter overwrites the instance type that is specified in the launch template.
4129
+ """
4130
+ return pulumi.get(self, "instance_type")
4131
+
4132
+ @property
4133
+ @pulumi.getter(name="spotPriceLimit")
4134
+ def spot_price_limit(self) -> builtins.float:
4135
+ """
4136
+ (Available since v1.249.0) The maximum bid price of instance type N that is specified by LaunchTemplateOverride.N.InstanceType. You can specify N instance types by using the Extend Launch Template feature. Valid values of N: 1 to 10.
4137
+ """
4138
+ return pulumi.get(self, "spot_price_limit")
4139
+
4140
+ @property
4141
+ @pulumi.getter(name="weightedCapacity")
4142
+ def weighted_capacity(self) -> builtins.int:
4143
+ """
4144
+ (Available since v1.249.0) The weight of the instance type. The value of this parameter indicates the capacity of a single instance of the specified instance type in the scaling group. A greater weight indicates that a smaller number of instances of the specified instance type are required to reach the expected capacity.
4145
+ """
4146
+ return pulumi.get(self, "weighted_capacity")
4147
+
4148
+
4042
4149
  @pulumi.output_type
4043
4150
  class GetScalingRulesRuleResult(dict):
4044
4151
  def __init__(__self__, *,
@@ -30,6 +30,7 @@ class ScalingGroupArgs:
30
30
  capacity_options_compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
31
31
  capacity_options_on_demand_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
32
32
  capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
33
+ capacity_options_price_comparison_mode: Optional[pulumi.Input[builtins.str]] = None,
33
34
  capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
34
35
  compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
35
36
  container_group_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -73,6 +74,7 @@ class ScalingGroupArgs:
73
74
  :param pulumi.Input[builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
74
75
  :param pulumi.Input[builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
75
76
  :param pulumi.Input[builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
77
+ :param pulumi.Input[builtins.str] capacity_options_price_comparison_mode: The price comparison mode. Valid values: PricePerUnit,PricePerVCpu. Default value: PricePerUnit.
76
78
  :param pulumi.Input[builtins.bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
77
79
  :param pulumi.Input[builtins.bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
78
80
  :param pulumi.Input[builtins.str] container_group_id: The ID of the elastic container instance.
@@ -132,6 +134,8 @@ class ScalingGroupArgs:
132
134
  pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
133
135
  if capacity_options_on_demand_percentage_above_base_capacity is not None:
134
136
  pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
137
+ if capacity_options_price_comparison_mode is not None:
138
+ pulumi.set(__self__, "capacity_options_price_comparison_mode", capacity_options_price_comparison_mode)
135
139
  if capacity_options_spot_auto_replace_on_demand is not None:
136
140
  pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
137
141
  if compensate_with_on_demand is not None:
@@ -296,6 +300,18 @@ class ScalingGroupArgs:
296
300
  def capacity_options_on_demand_percentage_above_base_capacity(self, value: Optional[pulumi.Input[builtins.int]]):
297
301
  pulumi.set(self, "capacity_options_on_demand_percentage_above_base_capacity", value)
298
302
 
303
+ @property
304
+ @pulumi.getter(name="capacityOptionsPriceComparisonMode")
305
+ def capacity_options_price_comparison_mode(self) -> Optional[pulumi.Input[builtins.str]]:
306
+ """
307
+ The price comparison mode. Valid values: PricePerUnit,PricePerVCpu. Default value: PricePerUnit.
308
+ """
309
+ return pulumi.get(self, "capacity_options_price_comparison_mode")
310
+
311
+ @capacity_options_price_comparison_mode.setter
312
+ def capacity_options_price_comparison_mode(self, value: Optional[pulumi.Input[builtins.str]]):
313
+ pulumi.set(self, "capacity_options_price_comparison_mode", value)
314
+
299
315
  @property
300
316
  @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
301
317
  def capacity_options_spot_auto_replace_on_demand(self) -> Optional[pulumi.Input[builtins.bool]]:
@@ -692,6 +708,7 @@ class _ScalingGroupState:
692
708
  capacity_options_compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
693
709
  capacity_options_on_demand_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
694
710
  capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
711
+ capacity_options_price_comparison_mode: Optional[pulumi.Input[builtins.str]] = None,
695
712
  capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
696
713
  compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
697
714
  container_group_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -733,6 +750,7 @@ class _ScalingGroupState:
733
750
  :param pulumi.Input[builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
734
751
  :param pulumi.Input[builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
735
752
  :param pulumi.Input[builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
753
+ :param pulumi.Input[builtins.str] capacity_options_price_comparison_mode: The price comparison mode. Valid values: PricePerUnit,PricePerVCpu. Default value: PricePerUnit.
736
754
  :param pulumi.Input[builtins.bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
737
755
  :param pulumi.Input[builtins.bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
738
756
  :param pulumi.Input[builtins.str] container_group_id: The ID of the elastic container instance.
@@ -794,6 +812,8 @@ class _ScalingGroupState:
794
812
  pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
795
813
  if capacity_options_on_demand_percentage_above_base_capacity is not None:
796
814
  pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
815
+ if capacity_options_price_comparison_mode is not None:
816
+ pulumi.set(__self__, "capacity_options_price_comparison_mode", capacity_options_price_comparison_mode)
797
817
  if capacity_options_spot_auto_replace_on_demand is not None:
798
818
  pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
799
819
  if compensate_with_on_demand is not None:
@@ -936,6 +956,18 @@ class _ScalingGroupState:
936
956
  def capacity_options_on_demand_percentage_above_base_capacity(self, value: Optional[pulumi.Input[builtins.int]]):
937
957
  pulumi.set(self, "capacity_options_on_demand_percentage_above_base_capacity", value)
938
958
 
959
+ @property
960
+ @pulumi.getter(name="capacityOptionsPriceComparisonMode")
961
+ def capacity_options_price_comparison_mode(self) -> Optional[pulumi.Input[builtins.str]]:
962
+ """
963
+ The price comparison mode. Valid values: PricePerUnit,PricePerVCpu. Default value: PricePerUnit.
964
+ """
965
+ return pulumi.get(self, "capacity_options_price_comparison_mode")
966
+
967
+ @capacity_options_price_comparison_mode.setter
968
+ def capacity_options_price_comparison_mode(self, value: Optional[pulumi.Input[builtins.str]]):
969
+ pulumi.set(self, "capacity_options_price_comparison_mode", value)
970
+
939
971
  @property
940
972
  @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
941
973
  def capacity_options_spot_auto_replace_on_demand(self) -> Optional[pulumi.Input[builtins.bool]]:
@@ -1361,6 +1393,7 @@ class ScalingGroup(pulumi.CustomResource):
1361
1393
  capacity_options_compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1362
1394
  capacity_options_on_demand_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
1363
1395
  capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
1396
+ capacity_options_price_comparison_mode: Optional[pulumi.Input[builtins.str]] = None,
1364
1397
  capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1365
1398
  compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1366
1399
  container_group_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -1490,6 +1523,7 @@ class ScalingGroup(pulumi.CustomResource):
1490
1523
  :param pulumi.Input[builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1491
1524
  :param pulumi.Input[builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
1492
1525
  :param pulumi.Input[builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
1526
+ :param pulumi.Input[builtins.str] capacity_options_price_comparison_mode: The price comparison mode. Valid values: PricePerUnit,PricePerVCpu. Default value: PricePerUnit.
1493
1527
  :param pulumi.Input[builtins.bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
1494
1528
  :param pulumi.Input[builtins.bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1495
1529
  :param pulumi.Input[builtins.str] container_group_id: The ID of the elastic container instance.
@@ -1653,6 +1687,7 @@ class ScalingGroup(pulumi.CustomResource):
1653
1687
  capacity_options_compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1654
1688
  capacity_options_on_demand_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
1655
1689
  capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
1690
+ capacity_options_price_comparison_mode: Optional[pulumi.Input[builtins.str]] = None,
1656
1691
  capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1657
1692
  compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1658
1693
  container_group_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -1701,6 +1736,7 @@ class ScalingGroup(pulumi.CustomResource):
1701
1736
  __props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
1702
1737
  __props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
1703
1738
  __props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
1739
+ __props__.__dict__["capacity_options_price_comparison_mode"] = capacity_options_price_comparison_mode
1704
1740
  __props__.__dict__["capacity_options_spot_auto_replace_on_demand"] = capacity_options_spot_auto_replace_on_demand
1705
1741
  __props__.__dict__["compensate_with_on_demand"] = compensate_with_on_demand
1706
1742
  __props__.__dict__["container_group_id"] = container_group_id
@@ -1754,6 +1790,7 @@ class ScalingGroup(pulumi.CustomResource):
1754
1790
  capacity_options_compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1755
1791
  capacity_options_on_demand_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
1756
1792
  capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[builtins.int]] = None,
1793
+ capacity_options_price_comparison_mode: Optional[pulumi.Input[builtins.str]] = None,
1757
1794
  capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1758
1795
  compensate_with_on_demand: Optional[pulumi.Input[builtins.bool]] = None,
1759
1796
  container_group_id: Optional[pulumi.Input[builtins.str]] = None,
@@ -1800,6 +1837,7 @@ class ScalingGroup(pulumi.CustomResource):
1800
1837
  :param pulumi.Input[builtins.bool] capacity_options_compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1801
1838
  :param pulumi.Input[builtins.int] capacity_options_on_demand_base_capacity: The minimum number of pay-as-you-go instances that must be contained in the scaling group. When the actual number of pay-as-you-go instances in the scaling group drops below the value of this parameter, Auto Scaling preferentially creates pay-as-you-go instances. Valid values: 0 to 1000. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 0.
1802
1839
  :param pulumi.Input[builtins.int] capacity_options_on_demand_percentage_above_base_capacity: The percentage of pay-as-you-go instances in the excess instances when the minimum number of pay-as-you-go instances is reached. 'on_demand_base_capacity' specifies the minimum number of pay-as-you-go instances that must be contained in the scaling group. Valid values: 0 to 100. If you set 'multi_az_policy' to COMPOSABLE, the default value of this parameter is 100.
1840
+ :param pulumi.Input[builtins.str] capacity_options_price_comparison_mode: The price comparison mode. Valid values: PricePerUnit,PricePerVCpu. Default value: PricePerUnit.
1803
1841
  :param pulumi.Input[builtins.bool] capacity_options_spot_auto_replace_on_demand: Specifies whether to replace pay-as-you-go instances with preemptible instances. If you specify 'compensate_with_on_demand', it may result in a higher percentage of pay-as-you-go instances compared to the value of 'on_demand_percentage_above_base_capacity'. If you specify this parameter, Auto Scaling preferentially deploys preemptible instances to replace the surplus pay-as-you-go instances when preemptible instance types are available. If you specify 'compensate_with_on_demand', Auto Scaling creates pay-as-you-go instances when preemptible instance types are insufficient. To avoid retaining these pay-as-you-go instances for extended periods, Auto Scaling attempts to replace them with preemptible instances when sufficient preemptible instance types become available. Valid values: true, false.
1804
1842
  :param pulumi.Input[builtins.bool] compensate_with_on_demand: Specifies whether to automatically create pay-as-you-go instances to meet the requirement on the number of ECS instances when the expected capacity of preemptible instances cannot be provided due to reasons such as cost-related issues and insufficient resources. This parameter is supported only if you set 'multi_az_policy' to COST_OPTIMIZED. Valid values: true, false.
1805
1843
  :param pulumi.Input[builtins.str] container_group_id: The ID of the elastic container instance.
@@ -1859,6 +1897,7 @@ class ScalingGroup(pulumi.CustomResource):
1859
1897
  __props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
1860
1898
  __props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
1861
1899
  __props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
1900
+ __props__.__dict__["capacity_options_price_comparison_mode"] = capacity_options_price_comparison_mode
1862
1901
  __props__.__dict__["capacity_options_spot_auto_replace_on_demand"] = capacity_options_spot_auto_replace_on_demand
1863
1902
  __props__.__dict__["compensate_with_on_demand"] = compensate_with_on_demand
1864
1903
  __props__.__dict__["container_group_id"] = container_group_id
@@ -1942,6 +1981,14 @@ class ScalingGroup(pulumi.CustomResource):
1942
1981
  """
1943
1982
  return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
1944
1983
 
1984
+ @property
1985
+ @pulumi.getter(name="capacityOptionsPriceComparisonMode")
1986
+ def capacity_options_price_comparison_mode(self) -> pulumi.Output[builtins.str]:
1987
+ """
1988
+ The price comparison mode. Valid values: PricePerUnit,PricePerVCpu. Default value: PricePerUnit.
1989
+ """
1990
+ return pulumi.get(self, "capacity_options_price_comparison_mode")
1991
+
1945
1992
  @property
1946
1993
  @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
1947
1994
  def capacity_options_spot_auto_replace_on_demand(self) -> pulumi.Output[builtins.bool]: