Skip to content

Commit df853e4

Browse files
author
AWS
committed
Amazon EC2 Container Service Update: Added support for Amazon ECS Managed Instances infrastructure optimization configuration.
1 parent 08ecf2d commit df853e4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
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": "Amazon EC2 Container Service",
4+
"contributor": "",
5+
"description": "Added support for Amazon ECS Managed Instances infrastructure optimization configuration."
6+
}

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,6 +2380,10 @@
23802380
"propagateTags":{
23812381
"shape":"PropagateMITags",
23822382
"documentation":"<p>Specifies whether to propagate tags from the capacity provider to the Amazon ECS Managed Instances. When enabled, tags applied to the capacity provider are automatically applied to all instances launched by this provider.</p>"
2383+
},
2384+
"infrastructureOptimization":{
2385+
"shape":"InfrastructureOptimization",
2386+
"documentation":"<p>Defines how Amazon ECS Managed Instances optimizes the infrastastructure in your capacity provider. Provides control over the delay between when EC2 instances become idle or underutilized and when Amazon ECS optimizes them.</p>"
23832387
}
23842388
},
23852389
"documentation":"<p>The configuration for creating a Amazon ECS Managed Instances provider. This specifies how Amazon ECS should manage Amazon EC2 instances, including the infrastructure role, instance launch template, and whether to propagate tags from the capacity provider to the instances.</p>"
@@ -3937,6 +3941,16 @@
39373941
"type":"list",
39383942
"member":{"shape":"InferenceAccelerator"}
39393943
},
3944+
"InfrastructureOptimization":{
3945+
"type":"structure",
3946+
"members":{
3947+
"scaleInAfter":{
3948+
"shape":"BoxedInteger",
3949+
"documentation":"<p>This parameter defines the number of seconds Amazon ECS Managed Instances waits before optimizing EC2 instances that have become idle or underutilized. A longer delay increases the likelihood of placing new tasks on idle or underutilized instances instances, reducing startup time. A shorter delay helps reduce infrastructure costs by optimizing idle or underutilized instances,instances more quickly.</p> <p>Valid values are:</p> <ul> <li> <p> <code>null</code> - Uses the default optimization behavior.</p> </li> <li> <p> <code>-1</code> - Disables automatic infrastructure optimization.</p> </li> <li> <p>A value between <code>0</code> and <code>3600</code> (inclusive) - Specifies the number of seconds to wait before optimizing instances.</p> </li> </ul>"
3950+
}
3951+
},
3952+
"documentation":"<p>The configuration that controls how Amazon ECS optimizes your infrastructure.</p>"
3953+
},
39403954
"InstanceGeneration":{
39413955
"type":"string",
39423956
"enum":[
@@ -4857,6 +4871,10 @@
48574871
"propagateTags":{
48584872
"shape":"PropagateMITags",
48594873
"documentation":"<p>Determines whether tags from the capacity provider are automatically applied to Amazon ECS Managed Instances. This helps with cost allocation and resource management by ensuring consistent tagging across your infrastructure.</p>"
4874+
},
4875+
"infrastructureOptimization":{
4876+
"shape":"InfrastructureOptimization",
4877+
"documentation":"<p>Defines how Amazon ECS Managed Instances optimizes the infrastastructure in your capacity provider. Configure it to turn on or off the infrastructure optimization in your capacity provider, and to control the idle or underutilized EC2 instances optimization delay.</p>"
48604878
}
48614879
},
48624880
"documentation":"<p>The configuration for a Amazon ECS Managed Instances provider. Amazon ECS uses this configuration to automatically launch, manage, and terminate Amazon EC2 instances on your behalf. Managed instances provide access to the full range of Amazon EC2 instance types and features while offloading infrastructure management to Amazon Web Services.</p>"
@@ -8039,6 +8057,10 @@
80398057
"propagateTags":{
80408058
"shape":"PropagateMITags",
80418059
"documentation":"<p>The updated tag propagation setting. When changed, this affects only new instances launched after the update.</p>"
8060+
},
8061+
"infrastructureOptimization":{
8062+
"shape":"InfrastructureOptimization",
8063+
"documentation":"<p>The updated infrastructure optimization configuration. Changes to this setting affect how Amazon ECS optimizes instances going forward.</p>"
80428064
}
80438065
},
80448066
"documentation":"<p>The updated configuration for a Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes apply to new instances launched after the update.</p>"

0 commit comments

Comments
 (0)