aws.ce.get_rightsizing_recommendation
Example SQL Queries
SELECT * FROMaws.ce.get_rightsizing_recommendationWHERE"service" = 'VALUE';Description
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 more information about calculation and function, see Optimizing Your Cost with Rightsizing Recommendations in the Billing and Cost Management User Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| service Required Input Column The specific service that you want recommendations for. The only valid value for GetRightsizingRecommendation is "AmazonEC2". | VARCHAR |
| configuration Input Column You can use Configuration 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 that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither. | STRUCT( |
Show child fields
| |
| filter Input Column Use Expression to filter in various Cost Explorer APIs. Not all Expression types are supported in each API. Refer to the documentation for each specific API to see what is supported. There are two patterns:
For the GetRightsizingRecommendation action, a combination of OR and NOT isn't supported. OR isn't supported between different dimensions, or dimensions and tags. NOT operators aren't supported. Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE. For the GetReservationPurchaseRecommendation action, only NOT is supported. AND and OR aren't supported. Dimensions are limited to LINKED_ACCOUNT. | STRUCT( |
Show child fields
| |
| next_page_token Input Column The token to retrieve the next set of results. | VARCHAR |
| page_size Input Column The number of recommendations that you want returned in a single response object. | BIGINT |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| metadata Information regarding this specific recommendation set. | STRUCT( |
Show child fields
| |
| rightsizing_recommendations Recommendations to rightsize resources. | STRUCT( |
Show child fields
| |
| summary Summary of this recommendation set. | STRUCT( |
Show child fields
| |