Skip to content

Commit 2536ff9

Browse files
author
AWS
committed
Auto Scaling Update: Adds bake time for Auto Scaling group Instance Refresh
1 parent cd0053b commit 2536ff9

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Auto Scaling",
4+
"contributor": "",
5+
"description": "Adds bake time for Auto Scaling group Instance Refresh"
6+
}

services/autoscaling/src/main/resources/codegen-resources/service-2.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,6 +1656,11 @@
16561656
"type":"list",
16571657
"member":{"shape":"XmlStringMaxLen255"}
16581658
},
1659+
"BakeTime":{
1660+
"type":"integer",
1661+
"max":172800,
1662+
"min":0
1663+
},
16591664
"BareMetal":{
16601665
"type":"string",
16611666
"enum":[
@@ -3174,7 +3179,7 @@
31743179
},
31753180
"Status":{
31763181
"shape":"InstanceRefreshStatus",
3177-
"documentation":"<p>The current status for the instance refresh operation:</p> <ul> <li> <p> <code>Pending</code> - The request was created, but the instance refresh has not started.</p> </li> <li> <p> <code>InProgress</code> - An instance refresh is in progress.</p> </li> <li> <p> <code>Successful</code> - An instance refresh completed successfully.</p> </li> <li> <p> <code>Failed</code> - An instance refresh failed to complete. You can troubleshoot using the status reason and the scaling activities. </p> </li> <li> <p> <code>Cancelling</code> - An ongoing instance refresh is being cancelled.</p> </li> <li> <p> <code>Cancelled</code> - The instance refresh is cancelled. </p> </li> <li> <p> <code>RollbackInProgress</code> - An instance refresh is being rolled back.</p> </li> <li> <p> <code>RollbackFailed</code> - The rollback failed to complete. You can troubleshoot using the status reason and the scaling activities.</p> </li> <li> <p> <code>RollbackSuccessful</code> - The rollback completed successfully.</p> </li> </ul>"
3182+
"documentation":"<p>The current status for the instance refresh operation:</p> <ul> <li> <p> <code>Pending</code> - The request was created, but the instance refresh has not started.</p> </li> <li> <p> <code>InProgress</code> - An instance refresh is in progress.</p> </li> <li> <p> <code>Successful</code> - An instance refresh completed successfully.</p> </li> <li> <p> <code>Failed</code> - An instance refresh failed to complete. You can troubleshoot using the status reason and the scaling activities. </p> </li> <li> <p> <code>Cancelling</code> - An ongoing instance refresh is being cancelled.</p> </li> <li> <p> <code>Cancelled</code> - The instance refresh is cancelled. </p> </li> <li> <p> <code>RollbackInProgress</code> - An instance refresh is being rolled back.</p> </li> <li> <p> <code>RollbackFailed</code> - The rollback failed to complete. You can troubleshoot using the status reason and the scaling activities.</p> </li> <li> <p> <code>RollbackSuccessful</code> - The rollback completed successfully.</p> </li> <li> <p> <code>Baking</code> - Waiting the specified bake time after an instance refresh has finished updating instances.</p> </li> </ul>"
31783183
},
31793184
"StatusReason":{
31803185
"shape":"XmlStringMaxLen1023",
@@ -3271,7 +3276,8 @@
32713276
"Cancelled",
32723277
"RollbackInProgress",
32733278
"RollbackFailed",
3274-
"RollbackSuccessful"
3279+
"RollbackSuccessful",
3280+
"Baking"
32753281
]
32763282
},
32773283
"InstanceRefreshWarmPoolProgress":{
@@ -4794,6 +4800,10 @@
47944800
"MaxHealthyPercentage":{
47954801
"shape":"IntPercent100To200",
47964802
"documentation":"<p>Specifies the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. The value is expressed as a percentage of the desired capacity of the Auto Scaling group. Value range is 100 to 200.</p> <p>If you specify <code>MaxHealthyPercentage</code>, you must also specify <code>MinHealthyPercentage</code>, and the difference between them cannot be greater than 100. A larger range increases the number of instances that can be replaced at the same time.</p> <p>If you do not specify this property, the default is 100 percent, or the percentage set in the instance maintenance policy for the Auto Scaling group, if defined.</p>"
4803+
},
4804+
"BakeTime":{
4805+
"shape":"BakeTime",
4806+
"documentation":"<p> The amount of time, in seconds, to wait at the end of an instance refresh before the instance refresh is considered complete. </p>"
47974807
}
47984808
},
47994809
"documentation":"<p>Describes the preferences for an instance refresh.</p>"
@@ -5262,7 +5272,7 @@
52625272
},
52635273
"Preferences":{
52645274
"shape":"RefreshPreferences",
5265-
"documentation":"<p>Sets your preferences for the instance refresh so that it performs as expected when you start it. Includes the instance warmup time, the minimum and maximum healthy percentages, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in <code>Standby</code> state or protected from scale in are found. You can also choose to enable additional features, such as the following:</p> <ul> <li> <p>Auto rollback</p> </li> <li> <p>Checkpoints</p> </li> <li> <p>CloudWatch alarms</p> </li> <li> <p>Skip matching</p> </li> </ul>"
5275+
"documentation":"<p>Sets your preferences for the instance refresh so that it performs as expected when you start it. Includes the instance warmup time, the minimum and maximum healthy percentages, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in <code>Standby</code> state or protected from scale in are found. You can also choose to enable additional features, such as the following:</p> <ul> <li> <p>Auto rollback</p> </li> <li> <p>Checkpoints</p> </li> <li> <p>CloudWatch alarms</p> </li> <li> <p>Skip matching</p> </li> <li> <p>Bake time</p> </li> </ul>"
52665276
}
52675277
}
52685278
},

0 commit comments

Comments
 (0)