Skip to content

Commit 36509a2

Browse files
author
AWS
committed
AWS Compute Optimizer Update: This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types.
1 parent a0fd540 commit 36509a2

File tree

2 files changed

+56
-6
lines changed

2 files changed

+56
-6
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": "AWS Compute Optimizer",
4+
"contributor": "",
5+
"description": "This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types."
6+
}

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

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,20 @@
611611
"member":{"shape":"AccountId"}
612612
},
613613
"AllocatedStorage":{"type":"integer"},
614+
"AllocationStrategy":{
615+
"type":"string",
616+
"enum":[
617+
"Prioritized",
618+
"LowestPrice"
619+
]
620+
},
621+
"AsgType":{
622+
"type":"string",
623+
"enum":[
624+
"SingleInstanceType",
625+
"MixedInstanceTypes"
626+
]
627+
},
614628
"AutoScalingConfiguration":{
615629
"type":"string",
616630
"enum":[
@@ -628,22 +642,38 @@
628642
"members":{
629643
"desiredCapacity":{
630644
"shape":"DesiredCapacity",
631-
"documentation":"<p>The desired capacity, or number of instances, for the Auto Scaling group.</p>"
645+
"documentation":"<p>The desired capacity, or number of instances, for the EC2 Auto Scaling group.</p>"
632646
},
633647
"minSize":{
634648
"shape":"MinSize",
635-
"documentation":"<p>The minimum size, or minimum number of instances, for the Auto Scaling group.</p>"
649+
"documentation":"<p>The minimum size, or minimum number of instances, for the EC2 Auto Scaling group.</p>"
636650
},
637651
"maxSize":{
638652
"shape":"MaxSize",
639-
"documentation":"<p>The maximum size, or maximum number of instances, for the Auto Scaling group.</p>"
653+
"documentation":"<p>The maximum size, or maximum number of instances, for the EC2 Auto Scaling group.</p>"
640654
},
641655
"instanceType":{
642-
"shape":"InstanceType",
643-
"documentation":"<p>The instance type for the Auto Scaling group.</p>"
656+
"shape":"NullableInstanceType",
657+
"documentation":"<p>The instance type for the EC2 Auto Scaling group.</p>"
658+
},
659+
"allocationStrategy":{
660+
"shape":"AllocationStrategy",
661+
"documentation":"<p> Describes the allocation strategy that the EC2 Auto Scaling group uses. This field is only available for EC2 Auto Scaling groups with mixed instance types. </p>"
662+
},
663+
"estimatedInstanceHourReductionPercentage":{
664+
"shape":"NullableEstimatedInstanceHourReductionPercentage",
665+
"documentation":"<p> Describes the projected percentage reduction in instance hours after adopting the recommended configuration. This field is only available for EC2 Auto Scaling groups with scaling policies. </p>"
666+
},
667+
"type":{
668+
"shape":"AsgType",
669+
"documentation":"<p> Describes whether the EC2 Auto Scaling group has a single instance type or a mixed instance type configuration. </p>"
670+
},
671+
"mixedInstanceTypes":{
672+
"shape":"MixedInstanceTypes",
673+
"documentation":"<p> List the instance types within an EC2 Auto Scaling group that has mixed instance types. </p>"
644674
}
645675
},
646-
"documentation":"<p>Describes the configuration of an Auto Scaling group.</p>"
676+
"documentation":"<p>Describes the configuration of an EC2 Auto Scaling group.</p>"
647677
},
648678
"AutoScalingGroupEstimatedMonthlySavings":{
649679
"type":"structure",
@@ -1905,6 +1935,9 @@
19051935
"CurrentConfigurationDesiredCapacity",
19061936
"CurrentConfigurationMinSize",
19071937
"CurrentConfigurationMaxSize",
1938+
"CurrentConfigurationAllocationStrategy",
1939+
"CurrentConfigurationMixedInstanceTypes",
1940+
"CurrentConfigurationType",
19081941
"CurrentOnDemandPrice",
19091942
"CurrentStandardOneYearNoUpfrontReservedPrice",
19101943
"CurrentStandardThreeYearNoUpfrontReservedPrice",
@@ -1916,6 +1949,10 @@
19161949
"RecommendationOptionsConfigurationDesiredCapacity",
19171950
"RecommendationOptionsConfigurationMinSize",
19181951
"RecommendationOptionsConfigurationMaxSize",
1952+
"RecommendationOptionsConfigurationEstimatedInstanceHourReductionPercentage",
1953+
"RecommendationOptionsConfigurationAllocationStrategy",
1954+
"RecommendationOptionsConfigurationMixedInstanceTypes",
1955+
"RecommendationOptionsConfigurationType",
19191956
"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum",
19201957
"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum",
19211958
"RecommendationOptionsPerformanceRisk",
@@ -4223,9 +4260,16 @@
42234260
"exception":true,
42244261
"synthetic":true
42254262
},
4263+
"MixedInstanceType":{"type":"string"},
4264+
"MixedInstanceTypes":{
4265+
"type":"list",
4266+
"member":{"shape":"MixedInstanceType"}
4267+
},
42264268
"NextToken":{"type":"string"},
42274269
"NullableCpu":{"type":"integer"},
4270+
"NullableEstimatedInstanceHourReductionPercentage":{"type":"double"},
42284271
"NullableIOPS":{"type":"integer"},
4272+
"NullableInstanceType":{"type":"string"},
42294273
"NullableMaxAllocatedStorage":{"type":"integer"},
42304274
"NullableMemory":{"type":"integer"},
42314275
"NullableMemoryReservation":{"type":"integer"},

0 commit comments

Comments
 (0)