pulumi-alicloud 3.76.0a1743571220__py3-none-any.whl → 3.76.0a1744139894__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 (237) hide show
  1. pulumi_alicloud/__init__.py +271 -4
  2. pulumi_alicloud/_inputs.py +20 -0
  3. pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
  4. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  5. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  6. pulumi_alicloud/alb/server_group.py +2 -2
  7. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  8. pulumi_alicloud/apigateway/_inputs.py +134 -0
  9. pulumi_alicloud/apigateway/group.py +117 -5
  10. pulumi_alicloud/apigateway/instance.py +148 -7
  11. pulumi_alicloud/apigateway/outputs.py +107 -0
  12. pulumi_alicloud/arms/alert_contact.py +2 -2
  13. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  14. pulumi_alicloud/arms/get_prometheus.py +2 -6
  15. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  16. pulumi_alicloud/arms/outputs.py +18 -18
  17. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  18. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  19. pulumi_alicloud/cdn/domain_new.py +2 -2
  20. pulumi_alicloud/cen/_inputs.py +6 -3
  21. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  22. pulumi_alicloud/cen/instance.py +101 -59
  23. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  24. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  25. pulumi_alicloud/cen/outputs.py +69 -26
  26. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  27. pulumi_alicloud/cen/transit_router.py +127 -53
  28. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  29. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  30. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  31. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  32. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  33. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  34. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  35. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  36. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  37. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  38. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  39. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  40. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  41. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  42. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  43. pulumi_alicloud/config/outputs.py +12 -0
  44. pulumi_alicloud/cs/__init__.py +1 -0
  45. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  46. pulumi_alicloud/cs/managed_kubernetes.py +127 -24
  47. pulumi_alicloud/cs/node_pool.py +42 -42
  48. pulumi_alicloud/cs/outputs.py +1782 -4
  49. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  50. pulumi_alicloud/dataworks/data_source.py +2 -2
  51. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  52. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  53. pulumi_alicloud/dataworks/di_job.py +2 -2
  54. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  55. pulumi_alicloud/dataworks/network.py +2 -2
  56. pulumi_alicloud/dataworks/project.py +2 -2
  57. pulumi_alicloud/dataworks/project_member.py +2 -2
  58. pulumi_alicloud/dbs/backup_plan.py +2 -2
  59. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  60. pulumi_alicloud/eais/__init__.py +2 -0
  61. pulumi_alicloud/eais/_inputs.py +75 -0
  62. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  63. pulumi_alicloud/eais/instance.py +365 -118
  64. pulumi_alicloud/eais/outputs.py +32 -0
  65. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  66. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  67. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  68. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  69. pulumi_alicloud/ecp/instance.py +2 -2
  70. pulumi_alicloud/ecp/key_pair.py +4 -4
  71. pulumi_alicloud/ecs/_inputs.py +33 -0
  72. pulumi_alicloud/ecs/disk.py +1 -1
  73. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  74. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  75. pulumi_alicloud/ecs/instance.py +1 -1
  76. pulumi_alicloud/ecs/outputs.py +26 -2
  77. pulumi_alicloud/eflo/__init__.py +5 -0
  78. pulumi_alicloud/eflo/_inputs.py +1717 -0
  79. pulumi_alicloud/eflo/cluster.py +935 -0
  80. pulumi_alicloud/eflo/invocation.py +1114 -0
  81. pulumi_alicloud/eflo/node.py +1013 -0
  82. pulumi_alicloud/eflo/node_group.py +1101 -0
  83. pulumi_alicloud/eflo/outputs.py +1366 -0
  84. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  85. pulumi_alicloud/ens/image.py +81 -34
  86. pulumi_alicloud/esa/__init__.py +4 -0
  87. pulumi_alicloud/esa/_inputs.py +640 -18
  88. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  89. pulumi_alicloud/esa/cache_rule.py +193 -179
  90. pulumi_alicloud/esa/certificate.py +99 -92
  91. pulumi_alicloud/esa/compression_rule.py +42 -28
  92. pulumi_alicloud/esa/edge_container_app.py +972 -0
  93. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  94. pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
  95. pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
  96. pulumi_alicloud/esa/https_application_configuration.py +42 -28
  97. pulumi_alicloud/esa/https_basic_configuration.py +56 -42
  98. pulumi_alicloud/esa/image_transform.py +42 -28
  99. pulumi_alicloud/esa/kv_namespace.py +11 -11
  100. pulumi_alicloud/esa/list.py +28 -28
  101. pulumi_alicloud/esa/network_optimization.py +56 -126
  102. pulumi_alicloud/esa/origin_pool.py +19 -19
  103. pulumi_alicloud/esa/origin_rule.py +67 -39
  104. pulumi_alicloud/esa/outputs.py +536 -12
  105. pulumi_alicloud/esa/page.py +28 -49
  106. pulumi_alicloud/esa/rate_plan_instance.py +86 -159
  107. pulumi_alicloud/esa/redirect_rule.py +42 -28
  108. pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
  109. pulumi_alicloud/esa/site.py +67 -123
  110. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  111. pulumi_alicloud/esa/waiting_room.py +269 -319
  112. pulumi_alicloud/esa/waiting_room_event.py +291 -305
  113. pulumi_alicloud/esa/waiting_room_rule.py +46 -53
  114. pulumi_alicloud/ess/_inputs.py +155 -0
  115. pulumi_alicloud/ess/outputs.py +128 -0
  116. pulumi_alicloud/ess/scaling_group.py +237 -2
  117. pulumi_alicloud/ess/scaling_rule.py +143 -2
  118. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  119. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  120. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  121. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  122. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  123. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  124. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  125. pulumi_alicloud/ims/oidc_provider.py +24 -13
  126. pulumi_alicloud/kvstore/account.py +9 -9
  127. pulumi_alicloud/kvstore/connection.py +2 -2
  128. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  129. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  130. pulumi_alicloud/kvstore/instance.py +7 -7
  131. pulumi_alicloud/kvstore/outputs.py +2 -2
  132. pulumi_alicloud/live/caster.py +2 -2
  133. pulumi_alicloud/maxcompute/__init__.py +1 -0
  134. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  135. pulumi_alicloud/maxcompute/outputs.py +183 -2
  136. pulumi_alicloud/maxcompute/project.py +2 -2
  137. pulumi_alicloud/maxcompute/quota.py +438 -0
  138. pulumi_alicloud/nas/mount_target.py +149 -54
  139. pulumi_alicloud/nlb/__init__.py +1 -0
  140. pulumi_alicloud/nlb/_inputs.py +43 -6
  141. pulumi_alicloud/nlb/load_balancer.py +212 -24
  142. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  143. pulumi_alicloud/nlb/outputs.py +30 -4
  144. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  145. pulumi_alicloud/oss/__init__.py +1 -0
  146. pulumi_alicloud/oss/_inputs.py +20 -0
  147. pulumi_alicloud/oss/access_point.py +2 -2
  148. pulumi_alicloud/oss/bucket_cname.py +2 -2
  149. pulumi_alicloud/oss/bucket_cors.py +2 -2
  150. pulumi_alicloud/oss/bucket_style.py +402 -0
  151. pulumi_alicloud/oss/bucket_website.py +2 -2
  152. pulumi_alicloud/oss/outputs.py +14 -0
  153. pulumi_alicloud/pai/service.py +59 -67
  154. pulumi_alicloud/polardb/cluster.py +75 -28
  155. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  156. pulumi_alicloud/pulumi-plugin.json +1 -1
  157. pulumi_alicloud/ram/__init__.py +3 -0
  158. pulumi_alicloud/ram/_inputs.py +9 -9
  159. pulumi_alicloud/ram/access_key.py +77 -31
  160. pulumi_alicloud/ram/account_alias.py +18 -45
  161. pulumi_alicloud/ram/get_system_policys.py +189 -0
  162. pulumi_alicloud/ram/group.py +156 -35
  163. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  164. pulumi_alicloud/ram/login_profile.py +92 -38
  165. pulumi_alicloud/ram/outputs.py +91 -6
  166. pulumi_alicloud/ram/password_policy.py +779 -0
  167. pulumi_alicloud/ram/policy.py +199 -88
  168. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  169. pulumi_alicloud/ram/saml_provider.py +44 -37
  170. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  171. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  172. pulumi_alicloud/rds/__init__.py +1 -0
  173. pulumi_alicloud/rds/custom_disk.py +1053 -0
  174. pulumi_alicloud/rds/instance.py +110 -14
  175. pulumi_alicloud/redis/tair_instance.py +14 -14
  176. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  177. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  178. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  179. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  180. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  181. pulumi_alicloud/rocketmq/__init__.py +1 -1
  182. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  183. pulumi_alicloud/rocketmq/account.py +452 -0
  184. pulumi_alicloud/rocketmq/acl.py +473 -47
  185. pulumi_alicloud/rocketmq/client_user.py +8 -2
  186. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  187. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  188. pulumi_alicloud/rocketmq/outputs.py +113 -4
  189. pulumi_alicloud/rocketmq/qos.py +8 -2
  190. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  191. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  192. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  193. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  194. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  195. pulumi_alicloud/sag/__init__.py +8 -0
  196. pulumi_alicloud/sag/acl.py +200 -0
  197. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  198. pulumi_alicloud/sag/client_user.py +560 -0
  199. pulumi_alicloud/sag/dnat_entry.py +512 -0
  200. pulumi_alicloud/sag/get_acls.py +2 -2
  201. pulumi_alicloud/sag/qos.py +202 -0
  202. pulumi_alicloud/sag/qos_car.py +654 -0
  203. pulumi_alicloud/sag/qos_policy.py +659 -0
  204. pulumi_alicloud/sag/snat_entry.py +313 -0
  205. pulumi_alicloud/securitycenter/group.py +2 -2
  206. pulumi_alicloud/selectdb/db_instance.py +60 -11
  207. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  208. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  209. pulumi_alicloud/threatdetection/__init__.py +3 -0
  210. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  211. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  212. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  213. pulumi_alicloud/threatdetection/instance.py +271 -54
  214. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  215. pulumi_alicloud/vpc/__init__.py +1 -0
  216. pulumi_alicloud/vpc/_inputs.py +281 -0
  217. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  218. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  219. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  220. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  221. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  222. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  223. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  224. pulumi_alicloud/vpc/outputs.py +232 -0
  225. pulumi_alicloud/vpc/peer_connection.py +84 -42
  226. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  227. pulumi_alicloud/vpc/route_table.py +100 -45
  228. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  229. pulumi_alicloud/vpn/_inputs.py +716 -71
  230. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  231. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
  232. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  233. pulumi_alicloud/vpn/outputs.py +1963 -998
  234. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
  235. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
  236. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
  237. {pulumi_alicloud-3.76.0a1743571220.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,11 @@ class ScalingGroupArgs:
26
26
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
27
27
  allocation_strategy: Optional[pulumi.Input[str]] = None,
28
28
  az_balance: Optional[pulumi.Input[bool]] = None,
29
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
30
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
31
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
32
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
33
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
29
34
  container_group_id: Optional[pulumi.Input[str]] = None,
30
35
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
31
36
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -64,6 +69,11 @@ class ScalingGroupArgs:
64
69
  :param pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
65
70
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
66
71
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
72
+ :param pulumi.Input[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.
73
+ :param pulumi.Input[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.
74
+ :param pulumi.Input[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.
75
+ :param pulumi.Input[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.
76
+ :param pulumi.Input[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.
67
77
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
68
78
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
69
79
  - The specified RDS instance must be in running status.
@@ -115,6 +125,16 @@ class ScalingGroupArgs:
115
125
  pulumi.set(__self__, "allocation_strategy", allocation_strategy)
116
126
  if az_balance is not None:
117
127
  pulumi.set(__self__, "az_balance", az_balance)
128
+ if capacity_options_compensate_with_on_demand is not None:
129
+ pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
130
+ if capacity_options_on_demand_base_capacity is not None:
131
+ pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
132
+ if capacity_options_on_demand_percentage_above_base_capacity is not None:
133
+ pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
134
+ if capacity_options_spot_auto_replace_on_demand is not None:
135
+ pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
136
+ if compensate_with_on_demand is not None:
137
+ pulumi.set(__self__, "compensate_with_on_demand", compensate_with_on_demand)
118
138
  if container_group_id is not None:
119
139
  pulumi.set(__self__, "container_group_id", container_group_id)
120
140
  if db_instance_ids is not None:
@@ -239,6 +259,66 @@ class ScalingGroupArgs:
239
259
  def az_balance(self, value: Optional[pulumi.Input[bool]]):
240
260
  pulumi.set(self, "az_balance", value)
241
261
 
262
+ @property
263
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
264
+ def capacity_options_compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
265
+ """
266
+ 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.
267
+ """
268
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
269
+
270
+ @capacity_options_compensate_with_on_demand.setter
271
+ def capacity_options_compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
272
+ pulumi.set(self, "capacity_options_compensate_with_on_demand", value)
273
+
274
+ @property
275
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
276
+ def capacity_options_on_demand_base_capacity(self) -> Optional[pulumi.Input[int]]:
277
+ """
278
+ 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.
279
+ """
280
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
281
+
282
+ @capacity_options_on_demand_base_capacity.setter
283
+ def capacity_options_on_demand_base_capacity(self, value: Optional[pulumi.Input[int]]):
284
+ pulumi.set(self, "capacity_options_on_demand_base_capacity", value)
285
+
286
+ @property
287
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
288
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> Optional[pulumi.Input[int]]:
289
+ """
290
+ 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.
291
+ """
292
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
293
+
294
+ @capacity_options_on_demand_percentage_above_base_capacity.setter
295
+ def capacity_options_on_demand_percentage_above_base_capacity(self, value: Optional[pulumi.Input[int]]):
296
+ pulumi.set(self, "capacity_options_on_demand_percentage_above_base_capacity", value)
297
+
298
+ @property
299
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
300
+ def capacity_options_spot_auto_replace_on_demand(self) -> Optional[pulumi.Input[bool]]:
301
+ """
302
+ 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.
303
+ """
304
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
305
+
306
+ @capacity_options_spot_auto_replace_on_demand.setter
307
+ def capacity_options_spot_auto_replace_on_demand(self, value: Optional[pulumi.Input[bool]]):
308
+ pulumi.set(self, "capacity_options_spot_auto_replace_on_demand", value)
309
+
310
+ @property
311
+ @pulumi.getter(name="compensateWithOnDemand")
312
+ def compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
313
+ """
314
+ 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.
315
+ """
316
+ return pulumi.get(self, "compensate_with_on_demand")
317
+
318
+ @compensate_with_on_demand.setter
319
+ def compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
320
+ pulumi.set(self, "compensate_with_on_demand", value)
321
+
242
322
  @property
243
323
  @pulumi.getter(name="containerGroupId")
244
324
  def container_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -608,6 +688,11 @@ class _ScalingGroupState:
608
688
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]]] = None,
609
689
  allocation_strategy: Optional[pulumi.Input[str]] = None,
610
690
  az_balance: Optional[pulumi.Input[bool]] = None,
691
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
692
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
693
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
694
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
695
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
611
696
  container_group_id: Optional[pulumi.Input[str]] = None,
612
697
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
613
698
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -644,6 +729,11 @@ class _ScalingGroupState:
644
729
  :param pulumi.Input[Sequence[pulumi.Input['ScalingGroupAlbServerGroupArgs']]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
645
730
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
646
731
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
732
+ :param pulumi.Input[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.
733
+ :param pulumi.Input[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.
734
+ :param pulumi.Input[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.
735
+ :param pulumi.Input[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.
736
+ :param pulumi.Input[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.
647
737
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
648
738
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
649
739
  - The specified RDS instance must be in running status.
@@ -697,6 +787,16 @@ class _ScalingGroupState:
697
787
  pulumi.set(__self__, "allocation_strategy", allocation_strategy)
698
788
  if az_balance is not None:
699
789
  pulumi.set(__self__, "az_balance", az_balance)
790
+ if capacity_options_compensate_with_on_demand is not None:
791
+ pulumi.set(__self__, "capacity_options_compensate_with_on_demand", capacity_options_compensate_with_on_demand)
792
+ if capacity_options_on_demand_base_capacity is not None:
793
+ pulumi.set(__self__, "capacity_options_on_demand_base_capacity", capacity_options_on_demand_base_capacity)
794
+ if capacity_options_on_demand_percentage_above_base_capacity is not None:
795
+ pulumi.set(__self__, "capacity_options_on_demand_percentage_above_base_capacity", capacity_options_on_demand_percentage_above_base_capacity)
796
+ if capacity_options_spot_auto_replace_on_demand is not None:
797
+ pulumi.set(__self__, "capacity_options_spot_auto_replace_on_demand", capacity_options_spot_auto_replace_on_demand)
798
+ if compensate_with_on_demand is not None:
799
+ pulumi.set(__self__, "compensate_with_on_demand", compensate_with_on_demand)
700
800
  if container_group_id is not None:
701
801
  pulumi.set(__self__, "container_group_id", container_group_id)
702
802
  if db_instance_ids is not None:
@@ -799,6 +899,66 @@ class _ScalingGroupState:
799
899
  def az_balance(self, value: Optional[pulumi.Input[bool]]):
800
900
  pulumi.set(self, "az_balance", value)
801
901
 
902
+ @property
903
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
904
+ def capacity_options_compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
905
+ """
906
+ 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.
907
+ """
908
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
909
+
910
+ @capacity_options_compensate_with_on_demand.setter
911
+ def capacity_options_compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
912
+ pulumi.set(self, "capacity_options_compensate_with_on_demand", value)
913
+
914
+ @property
915
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
916
+ def capacity_options_on_demand_base_capacity(self) -> Optional[pulumi.Input[int]]:
917
+ """
918
+ 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.
919
+ """
920
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
921
+
922
+ @capacity_options_on_demand_base_capacity.setter
923
+ def capacity_options_on_demand_base_capacity(self, value: Optional[pulumi.Input[int]]):
924
+ pulumi.set(self, "capacity_options_on_demand_base_capacity", value)
925
+
926
+ @property
927
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
928
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> Optional[pulumi.Input[int]]:
929
+ """
930
+ 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.
931
+ """
932
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
933
+
934
+ @capacity_options_on_demand_percentage_above_base_capacity.setter
935
+ def capacity_options_on_demand_percentage_above_base_capacity(self, value: Optional[pulumi.Input[int]]):
936
+ pulumi.set(self, "capacity_options_on_demand_percentage_above_base_capacity", value)
937
+
938
+ @property
939
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
940
+ def capacity_options_spot_auto_replace_on_demand(self) -> Optional[pulumi.Input[bool]]:
941
+ """
942
+ 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.
943
+ """
944
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
945
+
946
+ @capacity_options_spot_auto_replace_on_demand.setter
947
+ def capacity_options_spot_auto_replace_on_demand(self, value: Optional[pulumi.Input[bool]]):
948
+ pulumi.set(self, "capacity_options_spot_auto_replace_on_demand", value)
949
+
950
+ @property
951
+ @pulumi.getter(name="compensateWithOnDemand")
952
+ def compensate_with_on_demand(self) -> Optional[pulumi.Input[bool]]:
953
+ """
954
+ 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.
955
+ """
956
+ return pulumi.get(self, "compensate_with_on_demand")
957
+
958
+ @compensate_with_on_demand.setter
959
+ def compensate_with_on_demand(self, value: Optional[pulumi.Input[bool]]):
960
+ pulumi.set(self, "compensate_with_on_demand", value)
961
+
802
962
  @property
803
963
  @pulumi.getter(name="containerGroupId")
804
964
  def container_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -1196,6 +1356,11 @@ class ScalingGroup(pulumi.CustomResource):
1196
1356
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
1197
1357
  allocation_strategy: Optional[pulumi.Input[str]] = None,
1198
1358
  az_balance: Optional[pulumi.Input[bool]] = None,
1359
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1360
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
1361
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
1362
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
1363
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1199
1364
  container_group_id: Optional[pulumi.Input[str]] = None,
1200
1365
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1201
1366
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -1271,7 +1436,7 @@ class ScalingGroup(pulumi.CustomResource):
1271
1436
  zone_id=default.zones[0].id,
1272
1437
  vswitch_name=my_name)
1273
1438
  default_security_group = alicloud.ecs.SecurityGroup("default",
1274
- name=my_name,
1439
+ security_group_name=my_name,
1275
1440
  vpc_id=default_network.id)
1276
1441
  default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
1277
1442
  type="ingress",
@@ -1320,6 +1485,11 @@ class ScalingGroup(pulumi.CustomResource):
1320
1485
  :param pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
1321
1486
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1322
1487
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1488
+ :param pulumi.Input[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.
1489
+ :param pulumi.Input[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.
1490
+ :param pulumi.Input[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.
1491
+ :param pulumi.Input[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.
1492
+ :param pulumi.Input[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.
1323
1493
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
1324
1494
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
1325
1495
  - The specified RDS instance must be in running status.
@@ -1416,7 +1586,7 @@ class ScalingGroup(pulumi.CustomResource):
1416
1586
  zone_id=default.zones[0].id,
1417
1587
  vswitch_name=my_name)
1418
1588
  default_security_group = alicloud.ecs.SecurityGroup("default",
1419
- name=my_name,
1589
+ security_group_name=my_name,
1420
1590
  vpc_id=default_network.id)
1421
1591
  default_security_group_rule = alicloud.ecs.SecurityGroupRule("default",
1422
1592
  type="ingress",
@@ -1478,6 +1648,11 @@ class ScalingGroup(pulumi.CustomResource):
1478
1648
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
1479
1649
  allocation_strategy: Optional[pulumi.Input[str]] = None,
1480
1650
  az_balance: Optional[pulumi.Input[bool]] = None,
1651
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1652
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
1653
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
1654
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
1655
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1481
1656
  container_group_id: Optional[pulumi.Input[str]] = None,
1482
1657
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1483
1658
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -1521,6 +1696,11 @@ class ScalingGroup(pulumi.CustomResource):
1521
1696
  __props__.__dict__["alb_server_groups"] = alb_server_groups
1522
1697
  __props__.__dict__["allocation_strategy"] = allocation_strategy
1523
1698
  __props__.__dict__["az_balance"] = az_balance
1699
+ __props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
1700
+ __props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
1701
+ __props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
1702
+ __props__.__dict__["capacity_options_spot_auto_replace_on_demand"] = capacity_options_spot_auto_replace_on_demand
1703
+ __props__.__dict__["compensate_with_on_demand"] = compensate_with_on_demand
1524
1704
  __props__.__dict__["container_group_id"] = container_group_id
1525
1705
  __props__.__dict__["db_instance_ids"] = db_instance_ids
1526
1706
  __props__.__dict__["default_cooldown"] = default_cooldown
@@ -1569,6 +1749,11 @@ class ScalingGroup(pulumi.CustomResource):
1569
1749
  alb_server_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]]] = None,
1570
1750
  allocation_strategy: Optional[pulumi.Input[str]] = None,
1571
1751
  az_balance: Optional[pulumi.Input[bool]] = None,
1752
+ capacity_options_compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1753
+ capacity_options_on_demand_base_capacity: Optional[pulumi.Input[int]] = None,
1754
+ capacity_options_on_demand_percentage_above_base_capacity: Optional[pulumi.Input[int]] = None,
1755
+ capacity_options_spot_auto_replace_on_demand: Optional[pulumi.Input[bool]] = None,
1756
+ compensate_with_on_demand: Optional[pulumi.Input[bool]] = None,
1572
1757
  container_group_id: Optional[pulumi.Input[str]] = None,
1573
1758
  db_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1574
1759
  default_cooldown: Optional[pulumi.Input[int]] = None,
@@ -1610,6 +1795,11 @@ class ScalingGroup(pulumi.CustomResource):
1610
1795
  :param pulumi.Input[Sequence[pulumi.Input[Union['ScalingGroupAlbServerGroupArgs', 'ScalingGroupAlbServerGroupArgsDict']]]] alb_server_groups: If a Serve ALB instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server ALB instance. See `alb_server_group` below for details.
1611
1796
  :param pulumi.Input[str] allocation_strategy: The allocation policy of instances. Auto Scaling selects instance types based on the allocation policy to create instances. The policy can be applied to pay-as-you-go instances and preemptible instances. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1612
1797
  :param pulumi.Input[bool] az_balance: Specifies whether to evenly distribute instances in the scaling group across multiple zones. This parameter takes effect only if you set MultiAZPolicy to COMPOSABLE.
1798
+ :param pulumi.Input[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.
1799
+ :param pulumi.Input[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.
1800
+ :param pulumi.Input[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.
1801
+ :param pulumi.Input[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.
1802
+ :param pulumi.Input[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.
1613
1803
  :param pulumi.Input[str] container_group_id: The ID of the elastic container instance.
1614
1804
  :param pulumi.Input[Sequence[pulumi.Input[str]]] db_instance_ids: If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.
1615
1805
  - The specified RDS instance must be in running status.
@@ -1664,6 +1854,11 @@ class ScalingGroup(pulumi.CustomResource):
1664
1854
  __props__.__dict__["alb_server_groups"] = alb_server_groups
1665
1855
  __props__.__dict__["allocation_strategy"] = allocation_strategy
1666
1856
  __props__.__dict__["az_balance"] = az_balance
1857
+ __props__.__dict__["capacity_options_compensate_with_on_demand"] = capacity_options_compensate_with_on_demand
1858
+ __props__.__dict__["capacity_options_on_demand_base_capacity"] = capacity_options_on_demand_base_capacity
1859
+ __props__.__dict__["capacity_options_on_demand_percentage_above_base_capacity"] = capacity_options_on_demand_percentage_above_base_capacity
1860
+ __props__.__dict__["capacity_options_spot_auto_replace_on_demand"] = capacity_options_spot_auto_replace_on_demand
1861
+ __props__.__dict__["compensate_with_on_demand"] = compensate_with_on_demand
1667
1862
  __props__.__dict__["container_group_id"] = container_group_id
1668
1863
  __props__.__dict__["db_instance_ids"] = db_instance_ids
1669
1864
  __props__.__dict__["default_cooldown"] = default_cooldown
@@ -1721,6 +1916,46 @@ class ScalingGroup(pulumi.CustomResource):
1721
1916
  """
1722
1917
  return pulumi.get(self, "az_balance")
1723
1918
 
1919
+ @property
1920
+ @pulumi.getter(name="capacityOptionsCompensateWithOnDemand")
1921
+ def capacity_options_compensate_with_on_demand(self) -> pulumi.Output[bool]:
1922
+ """
1923
+ 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.
1924
+ """
1925
+ return pulumi.get(self, "capacity_options_compensate_with_on_demand")
1926
+
1927
+ @property
1928
+ @pulumi.getter(name="capacityOptionsOnDemandBaseCapacity")
1929
+ def capacity_options_on_demand_base_capacity(self) -> pulumi.Output[int]:
1930
+ """
1931
+ 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.
1932
+ """
1933
+ return pulumi.get(self, "capacity_options_on_demand_base_capacity")
1934
+
1935
+ @property
1936
+ @pulumi.getter(name="capacityOptionsOnDemandPercentageAboveBaseCapacity")
1937
+ def capacity_options_on_demand_percentage_above_base_capacity(self) -> pulumi.Output[int]:
1938
+ """
1939
+ 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.
1940
+ """
1941
+ return pulumi.get(self, "capacity_options_on_demand_percentage_above_base_capacity")
1942
+
1943
+ @property
1944
+ @pulumi.getter(name="capacityOptionsSpotAutoReplaceOnDemand")
1945
+ def capacity_options_spot_auto_replace_on_demand(self) -> pulumi.Output[bool]:
1946
+ """
1947
+ 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.
1948
+ """
1949
+ return pulumi.get(self, "capacity_options_spot_auto_replace_on_demand")
1950
+
1951
+ @property
1952
+ @pulumi.getter(name="compensateWithOnDemand")
1953
+ def compensate_with_on_demand(self) -> pulumi.Output[bool]:
1954
+ """
1955
+ 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.
1956
+ """
1957
+ return pulumi.get(self, "compensate_with_on_demand")
1958
+
1724
1959
  @property
1725
1960
  @pulumi.getter(name="containerGroupId")
1726
1961
  def container_group_id(self) -> pulumi.Output[Optional[str]]: