View a markdown version of this page

Actions, resources, and condition keys for AWS Cost Optimization Hub - Service Authorization Reference

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:

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

cost-optimization-hub:GetPreferences

Read

GetRecommendation

cost-optimization-hub:GetRecommendation

Read

ListEfficiencyMetrics

cost-optimization-hub:ListEfficiencyMetrics

List

ListEnrollmentStatuses

cost-optimization-hub:ListEnrollmentStatuses

List

ListRecommendationSummaries

cost-optimization-hub:ListRecommendationSummaries

List

ListRecommendations

cost-optimization-hub:ListRecommendations

List

UpdateEnrollmentStatus

cost-optimization-hub:UpdateEnrollmentStatus

Write

UpdatePreferences

cost-optimization-hub: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

GetPreferences

Grants permission to get preferences

Read

GetRecommendation

Grants permission to get resource configuration and estimated cost impact for a recommendation

Read

ListEfficiencyMetrics

Grants permission to list efficiency metric scores by group

List

ListEnrollmentStatuses

Grants permission to list enrollment statuses for the specified account or all members under a management account

List

ListRecommendationSummaries

Grants permission to list recommendation summaries by group

List

ListRecommendations

Grants permission to list summary view of recommendations

List

UpdateEnrollmentStatus

Grants permission to update the enrollment status

Write

UpdatePreferences

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.