AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetEC2InstanceRecommendations operation. Returns Amazon EC2 instance recommendations.
Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
Namespace: Amazon.ComputeOptimizer.Model
Assembly: AWSSDK.ComputeOptimizer.dll
Version: 3.x.y.z
public class GetEC2InstanceRecommendationsRequest : AmazonComputeOptimizerRequest IAmazonWebServiceRequest
The GetEC2InstanceRecommendationsRequest type exposes the following members
Name | Description | |
---|---|---|
GetEC2InstanceRecommendationsRequest() |
Name | Type | Description | |
---|---|---|---|
AccountIds | System.Collections.Generic.List<System.String> |
Gets and sets the property AccountIds. The ID of the Amazon Web Services account for which to return instance recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations. Only one account ID can be specified per request. |
|
Filters | System.Collections.Generic.List<Amazon.ComputeOptimizer.Model.Filter> |
Gets and sets the property Filters. An array of objects to specify a filter that returns a more specific list of instance recommendations. |
|
InstanceArns | System.Collections.Generic.List<System.String> |
Gets and sets the property InstanceArns. The Amazon Resource Name (ARN) of the instances for which to return recommendations. |
|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of instance recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned |
|
NextToken | System.String |
Gets and sets the property NextToken. The token to advance to the next page of instance recommendations. |
|
RecommendationPreferences | Amazon.ComputeOptimizer.Model.RecommendationPreferences |
Gets and sets the property RecommendationPreferences. An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5