Actions, resources, and condition keys for Amazon Cost Explorer Service
Amazon Cost Explorer Service (service prefix: ce) 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 Amazon Cost Explorer Service
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 |
|---|---|---|---|---|
|
CreateAnomalyMonitor |
Write |
|||
Tagging, Write |
||||
|
CreateAnomalySubscription |
Write |
|||
Tagging, Write |
||||
|
CreateCostCategoryDefinition |
Write |
|||
Tagging, Write |
||||
|
DeleteAnomalyMonitor |
Write |
|||
|
DeleteAnomalySubscription |
Write |
|||
|
DeleteCostCategoryDefinition |
Write |
|||
|
DescribeCostCategoryDefinition |
Read |
|||
|
GetAnomalies |
Read |
|||
|
GetAnomalyMonitors |
Read |
|||
|
GetAnomalySubscriptions |
Read |
|||
|
GetApproximateUsageRecords |
Read |
|||
|
GetCommitmentPurchaseAnalysis |
Read |
|||
|
GetCostAndUsage |
Read |
|||
Read |
||||
|
GetCostAndUsageComparisons |
Read |
|||
|
GetCostAndUsageWithResources |
Read |
|||
Read |
||||
|
GetCostCategories |
Read |
|||
Read |
||||
|
GetCostComparisonDrivers |
Read |
|||
|
GetCostForecast |
Read |
|||
Read |
||||
|
GetDimensionValues |
Read |
|||
Read |
||||
|
GetReservationCoverage |
Read |
|||
Read |
||||
|
GetReservationPurchaseRecommendation |
Read |
|||
Read |
||||
|
GetReservationUtilization |
Read |
|||
Read |
||||
|
GetRightsizingRecommendation |
Read |
|||
Read |
||||
|
GetSavingsPlanPurchaseRecommendationDetails |
Read |
|||
Read |
||||
|
GetSavingsPlansCoverage |
Read |
|||
Read |
||||
|
GetSavingsPlansPurchaseRecommendation |
Read |
|||
Read |
||||
|
GetSavingsPlansUtilization |
Read |
|||
Read |
||||
|
GetSavingsPlansUtilizationDetails |
Read |
|||
Read |
||||
|
GetTags |
Read |
|||
Read |
||||
|
GetUsageForecast |
Read |
|||
Read |
||||
|
ListCommitmentPurchaseAnalyses |
List |
|||
|
ListCostAllocationTagBackfillHistory |
List |
|||
|
ListCostAllocationTags |
List |
|||
Read |
||||
|
ListCostCategoryDefinitions |
List |
|||
|
ListCostCategoryResourceAssociations |
List |
|||
|
ListSavingsPlansPurchaseRecommendationGeneration |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ProvideAnomalyFeedback |
Write |
|||
|
StartCommitmentPurchaseAnalysis |
Write |
|||
|
StartCostAllocationTagBackfill |
Write |
|||
|
StartSavingsPlansPurchaseRecommendationGeneration |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateAnomalyMonitor |
Write |
|||
|
UpdateAnomalySubscription |
Write |
|||
|
UpdateCostAllocationTagsStatus |
Write |
|||
Write |
||||
|
UpdateCostCategoryDefinition |
Write |
Actions defined by Amazon Cost Explorer Service
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 Amazon. 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 create a new Anomaly Monitor |
Write |
|||
Grants permission to create a new Anomaly Subscription |
Write |
|||
Grants permission to create a new Cost Category with the requested name and rules |
Write |
|||
Grants permission to delete an Anomaly Monitor |
Write |
|||
Grants permission to delete an Anomaly Subscription |
Write |
|||
Grants permission to delete a Cost Category |
Write |
|||
Grants permission to retrieve descriptions such as the name, ARN, rules, definition, and effective dates of a Cost Category |
Read |
|||
Grants permission to retrieve anomalies |
Read |
|||
Grants permission to query Anomaly Monitors |
Read |
|||
Grants permission to query Anomaly Subscriptions |
Read |
|||
Grants permission to retrieve approximate usage record count for the chosen resource, level, and hourly granularity preferences, derived from the past month's usage |
Read |
|||
Grants permission to retrieve the commitment purchase analysis for your account |
Read |
|||
Grants permission to retrieve the cost and usage metrics for your account |
Read |
|||
Grants permission to retrieve the cost and usage comparisons for your account |
Read |
|||
Grants permission to retrieve the cost and usage metrics with resources for your account |
Read |
|||
Grants permission to query Cost Catagory names and values for a specified time period |
Read |
|||
Grants permission to retrieve the cost drivers for your account |
Read |
|||
Grants permission to retrieve a cost forecast for a forecast time period |
Read |
|||
Grants permission to retrieve all available filter values for a filter for a period of time |
Read |
|||
Grants permission to retrieve the reservation coverage for your account |
Read |
|||
Grants permission to retrieve the reservation recommendations for your account |
Read |
|||
Grants permission to retrieve the reservation utilization for your account |
Read |
|||
Grants permission to retrieve the rightsizing recommendations for your account |
Read |
|||
Grants permission to retrieve the Savings Plan recommendation details for your account |
Read |
|||
Grants permission to retrieve the Savings Plans coverage for your account |
Read |
|||
Grants permission to retrieve the Savings Plans recommendations for your account |
Read |
|||
Grants permission to retrieve the Savings Plans utilization for your account |
Read |
|||
Grants permission to retrieve the Savings Plans utilization details for your account |
Read |
|||
Grants permission to query tags for a specified time period |
Read |
|||
Grants permission to retrieve a usage forecast for a forecast time period |
Read |
|||
Grants permission to retrieve a list of your historical commitment purchase analyses |
List |
|||
Grants permission to list Cost Allocation Tag backfill history |
List |
|||
Grants permission to list Cost Allocation Tags |
List |
|||
Grants permission to retrieve names, ARN, and effective dates for all Cost Categories |
List |
|||
Grants permission to retrieve resource associations of all Cost Categories defined in the account |
List |
|||
Grants permission to retrieve a list of your historical recommendation generations |
List |
|||
Grants permission to list tags for a Cost Explorer resource |
Read |
|||
Grants permission to provide feedback on detected anomalies |
Write |
|||
Grants permission to request a commitment purchase analysis |
Write |
|||
Grants permission to request a Cost Allocation Tag backfill |
Write |
|||
Grants permission to request a Savings Plans recommendation generation |
Write |
|||
Grants permission to tag a Cost Explorer resource |
Tagging, Write |
|||
Grants permission to remove tags from a Cost Explorer resource |
Tagging, Write |
|||
Grants permission to update an existing Anomaly Monitor |
Write |
|||
Grants permission to update an existing Anomaly Subscription |
Write |
|||
Grants permission to update existing Cost Allocation Tags status |
Write |
|||
Grants permission to update an existing Cost Category |
Write |
Permission-only actions for Amazon Cost Explorer Service
The following actions are defined by Amazon Cost Explorer Service but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create Reservation expiration alerts |
Write |
|||
Grants permission to create Cost Explorer Reports |
Write |
|||
Grants permission to delete Reservation expiration alerts |
Write |
|||
Grants permission to delete Cost Explorer Reports |
Write |
|||
Grants permission to view Reservation expiration alerts |
Read |
|||
Grants permission to view Cost Explorer Reports page |
Read |
|||
Grants permission to view whether existing or fine-grained IAM actions are being used to control authorization to Billing, Cost Management, and Account consoles |
Read |
|||
Grants permission to view Cost Explorer Preferences page |
Read |
|||
Grants permission to change whether existing or fine-grained IAM actions will be used to control authorization to Billing, Cost Management, and Account consoles |
Write |
|||
Grants permission to update Reservation expiration alerts |
Write |
|||
Grants permission to edit Cost Explorer Preferences page |
Write |
|||
Grants permission to update Cost Explorer Reports |
Write |
Resource types defined by Amazon Cost Explorer Service
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:ce::${Account}:anomalymonitor/${Identifier} |
||
arn:${Partition}:ce::${Account}:anomalysubscription/${Identifier} |
||
arn:${Partition}:billing::${Account}:billingview/${ResourceId} |
||
arn:${Partition}:ce::${Account}:costcategory/${Identifier} |
Condition keys for Amazon Cost Explorer Service
Amazon Cost Explorer Service defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tags that are passed in the request |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by the tag keys that are passed in the request |
ArrayOfString |