CmdID / aws / aws compute-optimizer
aws compute-optimizer get-ec2-instance-recommendations
Returns Amazon EC2 instance recommendations. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--account-idsThe ID of the Amazon Web Services account for which to return instance recommendations.--filtersAn array of objects to specify a filter that returns a more specific list of instance recommendations.--instance-arnsThe Amazon Resource Name (ARN) of the instances for which to return recommendations.--max-resultsThe maximum number of instance recommendations to return with a single request.--next-tokenThe token to advance to the next page of instance recommendations.--recommendation-preferencesAn object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.