Actions, resources, and condition keys for AWS Cost Optimization Hub
AWS Cost Optimization Hub (service prefix: cost-optimization-hub) 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 Cost Optimization Hub
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 |
|---|---|---|---|---|
|
GetPreferences |
Read |
|||
|
GetRecommendation |
Read |
|||
|
ListEfficiencyMetrics |
List |
|||
|
ListEnrollmentStatuses |
List |
|||
|
ListRecommendationSummaries |
List |
|||
|
ListRecommendations |
List |
|||
|
UpdateEnrollmentStatus |
Write |
|||
|
UpdatePreferences |
Write |
Actions defined by AWS Cost Optimization Hub
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 get preferences |
Read |
|||
Grants permission to get resource configuration and estimated cost impact for a recommendation |
Read |
|||
Grants permission to list efficiency metric scores by group |
List |
|||
Grants permission to list enrollment statuses for the specified account or all members under a management account |
List |
|||
Grants permission to list recommendation summaries by group |
List |
|||
Grants permission to list summary view of recommendations |
List |
|||
Grants permission to update the enrollment status |
Write |
|||
Grants permission to update preferences |
Write |
Resource types defined by AWS Cost Optimization Hub
AWS Cost Optimization Hub does not support specifying a resource ARN in the
Resource element of an IAM policy statement.
Condition keys for AWS Cost Optimization Hub
AWS Cost Optimization Hub has no service-specific condition keys that can be used in the
Condition element of policy statements.