Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances.
Recommendations are generated to either downsize or terminate instances, along with providing savings detail and metrics. For details on calculation and function, see Optimizing Your Cost with Rightsizing Recommendations in the AWS Billing and Cost Management User Guide .
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
get-rightsizing-recommendation
[--filter <value>]
[--configuration <value>]
--service <value>
[--page-size <value>]
[--next-page-token <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--filter (structure)
Use
Expressionto filter by cost or by usage. There are two patterns:
Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for
REGION==us-east-1 OR REGION==us-west-1. ForGetRightsizingRecommendation, the Region is a full name (for example,REGION==US East (N. Virginia). TheExpressionexample looks like:{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } }The list of dimension values are OR’d together to retrieve cost or usage data. You can createExpressionandDimensionValuesobjects using eitherwith*methods orset*methods in multiple lines.Compound dimension values with logical operations - You can use multiple
Expressiontypes and the logical operatorsAND/OR/NOTto create a list of one or moreExpressionobjects. This allows you to filter on more advanced options. For example, you can filter on((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer). TheExpressionfor that looks like this:{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] }Note
Because each
Expressioncan have only one operator, the service returns an error if more than one is specified. The following example shows anExpressionobject that creates an error.
{ "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", "Values": [ "DataTransfer" ] } }Note
For the
GetRightsizingRecommendationaction, a combination of OR and NOT is not supported. OR is not supported between different dimensions, or dimensions and tags. NOT operators aren’t supported. Dimensions are also limited toLINKED_ACCOUNT,REGION, orRIGHTSIZING_TYPE.For the
GetReservationPurchaseRecommendationaction, only NOT is supported. AND and OR are not supported. Dimensions are limited toLINKED_ACCOUNT.Or -> (list)
Return results that match either
Dimensionobject.(structure)
Use
Expressionto filter by cost or by usage. There are two patterns:
Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for
REGION==us-east-1 OR REGION==us-west-1. ForGetRightsizingRecommendation, the Region is a full name (for example,REGION==US East (N. Virginia). TheExpressionexample looks like:{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } }The list of dimension values are OR’d together to retrieve cost or usage data. You can createExpressionandDimensionValuesobjects using eitherwith*methods orset*methods in multiple lines.Compound dimension values with logical operations - You can use multiple
Expressiontypes and the logical operatorsAND/OR/NOTto create a list of one or moreExpressionobjects. This allows you to filter on more advanced options. For example, you can filter on((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer). TheExpressionfor that looks like this:{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] }Note
Because each
Expressioncan have only one operator, the service returns an error if more than one is specified. The following example shows anExpressionobject that creates an error.
{ "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", "Values": [ "DataTransfer" ] } }Note
For the
GetRightsizingRecommendationaction, a combination of OR and NOT is not supported. OR is not supported between different dimensions, or dimensions and tags. NOT operators aren’t supported. Dimensions are also limited toLINKED_ACCOUNT,REGION, orRIGHTSIZING_TYPE.For the
GetReservationPurchaseRecommendationaction, only NOT is supported. AND and OR are not supported. Dimensions are limited toLINKED_ACCOUNT.Or -> (list)
Return results that match either
Dimensionobject.( … recursive … )
And -> (list)
Return results that match both
Dimensionobjects.( … recursive … )
( … recursive … )Dimensions -> (structure)
The specific
Dimensionto use forExpression.Key -> (string)
The names of the metadata types that you can use to filter and group your results. For example,
AZreturns a list of Availability Zones.Values -> (list)
The metadata values that you can use to filter and group your results. You can use
GetDimensionValuesto find specific values.(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
Tags -> (structure)
The specific
Tagto use forExpression.Key -> (string)
The key for the tag.
Values -> (list)
The specific value of the tag.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
CostCategories -> (structure)
The filter based on
CostCategoryvalues.Key -> (string)
The unique name of the Cost Category.
Values -> (list)
The specific value of the Cost Category.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for
MatchOptionsisEQUALSandCASE_SENSITIVE.(string)
And -> (list)
Return results that match both
Dimensionobjects.(structure)
Use
Expressionto filter by cost or by usage. There are two patterns:
Simple dimension values - You can set the dimension name and values for the filters that you plan to use. For example, you can filter for
REGION==us-east-1 OR REGION==us-west-1. ForGetRightsizingRecommendation, the Region is a full name (for example,REGION==US East (N. Virginia). TheExpressionexample looks like:{ "Dimensions": { "Key": "REGION", "Values": [ "us-east-1", “us-west-1” ] } }The list of dimension values are OR’d together to retrieve cost or usage data. You can createExpressionandDimensionValuesobjects using eitherwith*methods orset*methods in multiple lines.Compound dimension values with logical operations - You can use multiple
Expressiontypes and the logical operatorsAND/OR/NOTto create a list of one or moreExpressionobjects. This allows you to filter on more advanced options. For example, you can filter on((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer). TheExpressionfor that looks like this:{ "And": [ {"Or": [ {"Dimensions": { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, {"Tags": { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] }Note
Because each
Expressioncan have only one operator, the service returns an error if more than one is specified. The following example shows anExpressionobject that creates an error.
{ "And": [ ... ], "DimensionValues": { "Dimension": "USAGE_TYPE", "Values": [ "DataTransfer" ] } }Note
For the
GetRightsizingRecommendationaction, a combination of OR and NOT is not supported. OR is not supported between different dimensions, or dimensions and tags. NOT operators aren’t supported. Dimensions are also limited toLINKED_ACCOUNT,REGION, orRIGHTSIZING_TYPE.For the
GetReservationPurchaseRecommendationaction, only NOT is supported. AND and OR are not supported. Dimensions are limited toLINKED_ACCOUNT.Or -> (list)
Return results that match either
Dimensionobject.( … recursive … )
And -> (list)
Return results that match both
Dimensionobjects.( … recursive … )
( … recursive … )Dimensions -> (structure)
The specific
Dimensionto use forExpression.Key -> (string)
The names of the metadata types that you can use to filter and group your results. For example,
AZreturns a list of Availability Zones.Values -> (list)
The metadata values that you can use to filter and group your results. You can use
GetDimensionValuesto find specific values.(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
Tags -> (structure)
The specific
Tagto use forExpression.Key -> (string)
The key for the tag.
Values -> (list)
The specific value of the tag.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
CostCategories -> (structure)
The filter based on
CostCategoryvalues.Key -> (string)
The unique name of the Cost Category.
Values -> (list)
The specific value of the Cost Category.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for
MatchOptionsisEQUALSandCASE_SENSITIVE.(string)
Not -> (structure)
Return results that don’t match a
Dimensionobject.Or -> (list)
Return results that match either
Dimensionobject.( … recursive … )
And -> (list)
Return results that match both
Dimensionobjects.( … recursive … )
( … recursive … )Dimensions -> (structure)
The specific
Dimensionto use forExpression.Key -> (string)
The names of the metadata types that you can use to filter and group your results. For example,
AZreturns a list of Availability Zones.Values -> (list)
The metadata values that you can use to filter and group your results. You can use
GetDimensionValuesto find specific values.(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
Tags -> (structure)
The specific
Tagto use forExpression.Key -> (string)
The key for the tag.
Values -> (list)
The specific value of the tag.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
CostCategories -> (structure)
The filter based on
CostCategoryvalues.Key -> (string)
The unique name of the Cost Category.
Values -> (list)
The specific value of the Cost Category.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for
MatchOptionsisEQUALSandCASE_SENSITIVE.(string)
Dimensions -> (structure)
The specific
Dimensionto use forExpression.Key -> (string)
The names of the metadata types that you can use to filter and group your results. For example,
AZreturns a list of Availability Zones.Values -> (list)
The metadata values that you can use to filter and group your results. You can use
GetDimensionValuesto find specific values.(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
Tags -> (structure)
The specific
Tagto use forExpression.Key -> (string)
The key for the tag.
Values -> (list)
The specific value of the tag.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
CostCategories -> (structure)
The filter based on
CostCategoryvalues.Key -> (string)
The unique name of the Cost Category.
Values -> (list)
The specific value of the Cost Category.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results. MatchOptions is only applicable for actions related to cost category. The default values for
MatchOptionsisEQUALSandCASE_SENSITIVE.(string)
JSON Syntax:
{
"Or": [
{
"Or": [
{ ... recursive ... }
...
],
"And": [
{ ... recursive ... }
...
],
"Not": { ... recursive ... },
"Dimensions": {
"Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"Tags": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"CostCategories": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
}
}
...
],
"And": [
{
"Or": [
{ ... recursive ... }
...
],
"And": [
{ ... recursive ... }
...
],
"Not": { ... recursive ... },
"Dimensions": {
"Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"Tags": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"CostCategories": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
}
}
...
],
"Not": {
"Or": [
{ ... recursive ... }
...
],
"And": [
{ ... recursive ... }
...
],
"Not": { ... recursive ... },
"Dimensions": {
"Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"Tags": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"CostCategories": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
}
},
"Dimensions": {
"Key": "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"Tags": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
},
"CostCategories": {
"Key": "string",
"Values": ["string", ...],
"MatchOptions": ["EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE", ...]
}
}
--configuration (structure)
Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
RecommendationTarget -> (string)
The option to see recommendations within the same instance family, or recommendations for instances across other families. The default value is
SAME_INSTANCE_FAMILY.BenefitsConsidered -> (boolean)
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE.
Shorthand Syntax:
RecommendationTarget=string,BenefitsConsidered=boolean
JSON Syntax:
{
"RecommendationTarget": "SAME_INSTANCE_FAMILY"|"CROSS_INSTANCE_FAMILY",
"BenefitsConsidered": true|false
}
--service (string)
The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendationis “AmazonEC2“.
--page-size (integer)
The number of recommendations that you want returned in a single response object.
--next-page-token (string)
The pagination token that indicates the next set of results that you want to retrieve.
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
Metadata -> (structure)
Information regarding this specific recommendation set.
RecommendationId -> (string)
The ID for this specific recommendation.
GenerationTimestamp -> (string)
The timestamp for when AWS made this recommendation.
LookbackPeriodInDays -> (string)
How many days of previous usage that AWS considers when making this recommendation.
AdditionalMetadata -> (string)
Additional metadata that may be applicable to the recommendation.
Summary -> (structure)
Summary of this recommendation set.
TotalRecommendationCount -> (string)
Total number of instance recommendations.
EstimatedTotalMonthlySavingsAmount -> (string)
Estimated total savings resulting from modifications, on a monthly basis.
SavingsCurrencyCode -> (string)
The currency code that AWS used to calculate the savings.
SavingsPercentage -> (string)
Savings percentage based on the recommended modifications, relative to the total On-Demand costs associated with these instances.
RightsizingRecommendations -> (list)
Recommendations to rightsize resources.
(structure)
Recommendations to rightsize resources.
AccountId -> (string)
The account that this recommendation is for.
CurrentInstance -> (structure)
Context regarding the current instance.
ResourceId -> (string)
Resource ID of the current instance.
InstanceName -> (string)
The name you’ve given an instance. This field will show as blank if you haven’t given the instance a name.
Tags -> (list)
Cost allocation resource tags applied to the instance.
(structure)
The values that are available for a tag.
If
ValuesandKeyare not specified, theABSENTMatchOptionis applied to all tags. That is, filtering on resources with no tags.If
Valuesis provided andKeyis not specified, theABSENTMatchOptionis applied to the tagKeyonly. That is, filtering on resources without the given tag key.Key -> (string)
The key for the tag.
Values -> (list)
The specific value of the tag.
(string)
MatchOptions -> (list)
The match options that you can use to filter your results.
MatchOptionsis only applicable for actions related to Cost Category. The default values forMatchOptionsareEQUALSandCASE_SENSITIVE.(string)
ResourceDetails -> (structure)
Details about the resource and utilization.
EC2ResourceDetails -> (structure)
Details on the Amazon EC2 resource.
HourlyOnDemandRate -> (string)
Hourly public On-Demand rate for the instance type.
InstanceType -> (string)
The type of AWS instance.
Platform -> (string)
The platform of the AWS instance. The platform is the specific combination of operating system, license model, and software on an instance.
Region -> (string)
The AWS Region of the instance.
Sku -> (string)
The SKU of the product.
Memory -> (string)
Memory capacity of the AWS instance.
NetworkPerformance -> (string)
Network performance capacity of the AWS instance.
Storage -> (string)
The disk storage of the AWS instance (not EBS storage).
Vcpu -> (string)
Number of VCPU cores in the AWS instance type.
ResourceUtilization -> (structure)
Utilization information of the current instance during the lookback period.
EC2ResourceUtilization -> (structure)
Utilization of current Amazon EC2 instance.
MaxCpuUtilizationPercentage -> (string)
Maximum observed or expected CPU utilization of the instance.
MaxMemoryUtilizationPercentage -> (string)
Maximum observed or expected memory utilization of the instance.
MaxStorageUtilizationPercentage -> (string)
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
EBSResourceUtilization -> (structure)
The EBS field that contains a list of EBS metrics associated with the current instance.
EbsReadOpsPerSecond -> (string)
The maximum number of read operations per second.
EbsWriteOpsPerSecond -> (string)
The maximum number of write operations per second.
EbsReadBytesPerSecond -> (string)
The maximum size of read operations per second
EbsWriteBytesPerSecond -> (string)
The maximum size of write operations per second.
ReservationCoveredHoursInLookbackPeriod -> (string)
Number of hours during the lookback period covered by reservations.
SavingsPlansCoveredHoursInLookbackPeriod -> (string)
Number of hours during the lookback period covered by Savings Plans.
OnDemandHoursInLookbackPeriod -> (string)
Number of hours during the lookback period billed at On-Demand rates.
TotalRunningHoursInLookbackPeriod -> (string)
The total number of hours the instance ran during the lookback period.
MonthlyCost -> (string)
Current On-Demand cost of operating this instance on a monthly basis.
CurrencyCode -> (string)
The currency code that AWS used to calculate the costs for this instance.
RightsizingType -> (string)
Recommendation to either terminate or modify the resource.
ModifyRecommendationDetail -> (structure)
Details for modification recommendations.
TargetInstances -> (list)
Identifies whether this instance type is the AWS default recommendation.
(structure)
Details on recommended instance.
EstimatedMonthlyCost -> (string)
Expected cost to operate this instance type on a monthly basis.
EstimatedMonthlySavings -> (string)
Estimated savings resulting from modification, on a monthly basis.
CurrencyCode -> (string)
The currency code that AWS used to calculate the costs for this instance.
DefaultTargetInstance -> (boolean)
Indicates whether this recommendation is the defaulted AWS recommendation.
ResourceDetails -> (structure)
Details on the target instance type.
EC2ResourceDetails -> (structure)
Details on the Amazon EC2 resource.
HourlyOnDemandRate -> (string)
Hourly public On-Demand rate for the instance type.
InstanceType -> (string)
The type of AWS instance.
Platform -> (string)
The platform of the AWS instance. The platform is the specific combination of operating system, license model, and software on an instance.
Region -> (string)
The AWS Region of the instance.
Sku -> (string)
The SKU of the product.
Memory -> (string)
Memory capacity of the AWS instance.
NetworkPerformance -> (string)
Network performance capacity of the AWS instance.
Storage -> (string)
The disk storage of the AWS instance (not EBS storage).
Vcpu -> (string)
Number of VCPU cores in the AWS instance type.
ExpectedResourceUtilization -> (structure)
Expected utilization metrics for target instance type.
EC2ResourceUtilization -> (structure)
Utilization of current Amazon EC2 instance.
MaxCpuUtilizationPercentage -> (string)
Maximum observed or expected CPU utilization of the instance.
MaxMemoryUtilizationPercentage -> (string)
Maximum observed or expected memory utilization of the instance.
MaxStorageUtilizationPercentage -> (string)
Maximum observed or expected storage utilization of the instance (does not measure EBS storage).
EBSResourceUtilization -> (structure)
The EBS field that contains a list of EBS metrics associated with the current instance.
EbsReadOpsPerSecond -> (string)
The maximum number of read operations per second.
EbsWriteOpsPerSecond -> (string)
The maximum number of write operations per second.
EbsReadBytesPerSecond -> (string)
The maximum size of read operations per second
EbsWriteBytesPerSecond -> (string)
The maximum size of write operations per second.
TerminateRecommendationDetail -> (structure)
Details for termination recommendations.
EstimatedMonthlySavings -> (string)
Estimated savings resulting from modification, on a monthly basis.
CurrencyCode -> (string)
The currency code that AWS used to calculate the costs for this instance.
NextPageToken -> (string)
The token to retrieve the next set of results.
Configuration -> (structure)
Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
RecommendationTarget -> (string)
The option to see recommendations within the same instance family, or recommendations for instances across other families. The default value is
SAME_INSTANCE_FAMILY.BenefitsConsidered -> (boolean)
The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is
TRUE.