You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amazon Elastic Compute Cloud Update: This release adds a new instance replacement strategy for EC2 Fleet, Spot Fleet. Now you can select an action to perform when your instance gets a rebalance notification. EC2 Fleet, Spot Fleet can launch a replacement then terminate the instance that received notification after a termination delay
"description": "This release adds a new instance replacement strategy for EC2 Fleet, Spot Fleet. Now you can select an action to perform when your instance gets a rebalance notification. EC2 Fleet, Spot Fleet can launch a replacement then terminate the instance that received notification after a termination delay"
Copy file name to clipboardExpand all lines: services/ec2/src/main/resources/codegen-resources/service-2.json
+26-6
Original file line number
Diff line number
Diff line change
@@ -23120,7 +23120,10 @@
23120
23120
},
23121
23121
"FleetReplacementStrategy":{
23122
23122
"type":"string",
23123
-
"enum":["launch"]
23123
+
"enum":[
23124
+
"launch",
23125
+
"launch-before-terminate"
23126
+
]
23124
23127
},
23125
23128
"FleetSet":{
23126
23129
"type":"list",
@@ -23134,8 +23137,13 @@
23134
23137
"members":{
23135
23138
"ReplacementStrategy":{
23136
23139
"shape":"FleetReplacementStrategy",
23137
-
"documentation":"<p>To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify <code>launch</code>. Only available for fleets of type <code>maintain</code>.</p> <note> <p>When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for both instances while they are running.</p> </note>",
23140
+
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p> <code>launch</code> - EC2 Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. </p> <p> <code>launch-before-terminate</code> - EC2 Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>), terminates the instances that received a rebalance notification.</p>",
23138
23141
"locationName":"replacementStrategy"
23142
+
},
23143
+
"TerminationDelay":{
23144
+
"shape":"Integer",
23145
+
"documentation":"<p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.</p>",
23146
+
"locationName":"terminationDelay"
23139
23147
}
23140
23148
},
23141
23149
"documentation":"<p>The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.</p>"
@@ -23145,10 +23153,14 @@
23145
23153
"members":{
23146
23154
"ReplacementStrategy":{
23147
23155
"shape":"FleetReplacementStrategy",
23148
-
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p>To allow EC2 Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for an existing Spot Instance in the fleet, specify <code>launch</code>. You must specify a value, otherwise you get an error.</p> <note> <p>When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for all instances while they are running.</p> </note>"
23156
+
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p> <code>launch</code> - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. </p> <p> <code>launch-before-terminate</code> - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>), terminates the instances that received a rebalance notification.</p>"
23157
+
},
23158
+
"TerminationDelay":{
23159
+
"shape":"Integer",
23160
+
"documentation":"<p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.</p>"
23149
23161
}
23150
23162
},
23151
-
"documentation":"<p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#ec2-fleet-capacity-rebalance\">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide</i>.</p>"
23163
+
"documentation":"<p>The Spot Instance replacement strategy to use when Amazon EC2 emits a rebalance notification signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#ec2-fleet-capacity-rebalance\">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide</i>.</p>"
23152
23164
},
23153
23165
"FleetSpotMaintenanceStrategies":{
23154
23166
"type":"structure",
@@ -36923,7 +36935,10 @@
36923
36935
},
36924
36936
"ReplacementStrategy":{
36925
36937
"type":"string",
36926
-
"enum":["launch"]
36938
+
"enum":[
36939
+
"launch",
36940
+
"launch-before-terminate"
36941
+
]
36927
36942
},
36928
36943
"ReportInstanceReasonCodes":{
36929
36944
"type":"string",
@@ -40635,8 +40650,13 @@
40635
40650
"members":{
40636
40651
"ReplacementStrategy":{
40637
40652
"shape":"ReplacementStrategy",
40638
-
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>. You must specify a value, otherwise you get an error.</p> <p>To allow Spot Fleet to launch a replacement Spot Instance when an instance rebalance notification is emitted for a Spot Instance in the fleet, specify <code>launch</code>.</p> <note> <p>When a replacement instance is launched, the instance marked for rebalance is not automatically terminated. You can terminate it, or you can leave it running. You are charged for all instances while they are running.</p> </note>",
40653
+
"documentation":"<p>The replacement strategy to use. Only available for fleets of type <code>maintain</code>.</p> <p> <code>launch</code> - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.</p> <p> <code>launch-before-terminate</code> - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in <code>TerminationDelay</code>), terminates the instances that received a rebalance notification.</p>",
40639
40654
"locationName":"replacementStrategy"
40655
+
},
40656
+
"TerminationDelay":{
40657
+
"shape":"Integer",
40658
+
"documentation":"<p>The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.</p>",
40659
+
"locationName":"terminationDelay"
40640
40660
}
40641
40661
},
40642
40662
"documentation":"<p>The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-configuration-strategies.html#spot-fleet-capacity-rebalance\">Capacity rebalancing</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>"
0 commit comments