Actions, resources, and condition keys for AWS Compute Optimizer
AWS Compute Optimizer (service prefix: compute-optimizer) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS Compute Optimizer
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
DeleteRecommendationPreferences |
Write |
|||
|
DescribeRecommendationExportJobs |
List |
|||
|
ExportAutoScalingGroupRecommendations |
Write |
|||
List |
||||
List |
||||
|
ExportEBSVolumeRecommendations |
Write |
|||
List |
||||
List |
||||
|
ExportEC2InstanceRecommendations |
Write |
|||
List |
||||
List |
||||
|
ExportECSServiceRecommendations |
Write |
|||
List |
||||
List |
||||
List |
||||
|
ExportIdleRecommendations |
Write |
|||
List |
||||
|
ExportLambdaFunctionRecommendations |
Write |
|||
List |
||||
List |
||||
List |
||||
|
ExportLicenseRecommendations |
Write |
|||
List |
||||
List |
||||
|
ExportRDSDatabaseRecommendations |
Write |
|||
List |
||||
List |
||||
List |
||||
|
GetAutoScalingGroupRecommendations |
List |
|||
List |
||||
|
GetEBSVolumeRecommendations |
List |
|||
List |
||||
|
GetEC2InstanceRecommendations |
List |
|||
List |
||||
|
GetEC2RecommendationProjectedMetrics |
List |
|||
List |
||||
|
GetECSServiceRecommendationProjectedMetrics |
compute-optimizer:GetECSServiceRecommendationProjectedMetrics |
List |
||
|
GetECSServiceRecommendations |
List |
|||
List |
||||
List |
||||
|
GetEffectiveRecommendationPreferences |
Read |
|||
List |
||||
List |
||||
List |
||||
|
GetEnrollmentStatus |
List |
|||
|
GetEnrollmentStatusesForOrganization |
List |
|||
List |
||||
|
GetIdleRecommendations |
List |
|||
|
GetLambdaFunctionRecommendations |
List |
|||
List |
||||
List |
||||
|
GetLicenseRecommendations |
List |
|||
List |
||||
|
GetRDSDatabaseRecommendationProjectedMetrics |
compute-optimizer:GetRDSDatabaseRecommendationProjectedMetrics |
List |
||
List |
||||
|
GetRDSDatabaseRecommendations |
List |
|||
List |
||||
List |
||||
|
GetRecommendationPreferences |
Read |
|||
|
GetRecommendationSummaries |
List |
|||
|
PutRecommendationPreferences |
Write |
|||
|
UpdateEnrollmentStatus |
Write |
Actions defined by AWS Compute Optimizer
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to delete recommendation preferences |
Write |
|||
Grants permission to view the status of recommendation export jobs |
List |
|||
Grants permission to export AutoScaling group recommendations to S3 for the provided accounts |
Write |
|||
Grants permission to export EBS volume recommendations to S3 for the provided accounts |
Write |
|||
Grants permission to export EC2 instance recommendations to S3 for the provided accounts |
Write |
|||
Grants permission to export ECS service recommendations to S3 for the provided accounts |
Write |
|||
Grants permission to export idle recommendations to S3 for the provided accounts |
Write |
|||
Grants permission to export Lambda function recommendations to S3 for the provided accounts |
Write |
|||
Grants permission to export license recommendations to S3 for the provided account(s) |
Write |
|||
Grants permission to export rds recommendations to S3 for the provided accounts |
Write |
|||
|
|