View a markdown version of this page

Actions, resources, and condition keys for AWS Billing And Cost Management Data Exports - Service Authorization Reference

Actions, resources, and condition keys for AWS Billing And Cost Management Data Exports

AWS Billing And Cost Management Data Exports (service prefix: bcm-data-exports) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS Billing And Cost Management Data Exports

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

CreateExport

bcm-data-exports:CreateExport

Write

bcm-data-exports:TagResource

Tagging, Write

cost-optimization-hub:GetRecommendation

Read

cost-optimization-hub:ListRecommendations

List

cur:PutReportDefinition

Write

sustainability:GetCarbonFootprintSummary

Read

DeleteExport

bcm-data-exports:DeleteExport

Write

GetExecution

bcm-data-exports:GetExecution

Read

GetExport

bcm-data-exports:GetExport

Read

GetTable

bcm-data-exports:GetTable

Read

ListExecutions

bcm-data-exports:ListExecutions

List

ListExports

bcm-data-exports:ListExports

List

ListTables

bcm-data-exports:ListTables

List

ListTagsForResource

bcm-data-exports:ListTagsForResource

Read

TagResource

bcm-data-exports:TagResource

Tagging, Write

UntagResource

bcm-data-exports:UntagResource

Tagging, Write

UpdateExport

bcm-data-exports:UpdateExport

Write

Actions defined by AWS Billing And Cost Management Data Exports

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

CreateExport

Grants permission to create an export

billingview

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

table*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteExport

Grants permission to delete an export

export*

aws:ResourceTag/${TagKey}

Write

GetExecution

Grants permission to get the execution of an export

export*

aws:ResourceTag/${TagKey}

Read

GetExport

Grants permission to get an export

export*

aws:ResourceTag/${TagKey}

Read

GetTable

Grants permission to get the details of a table

table*

Read

ListExecutions

Grants permission to list all executions of an export

export*

aws:ResourceTag/${TagKey}

List

ListExports

Grants permission to list all exports

List

ListTables

Grants permission to list all available tables

List

ListTagsForResource

Grants permission to list tags for a resource

export*

aws:ResourceTag/${TagKey}

Read

TagResource

Grants permission to tag a resource

export*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to untag a resource

export*

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UpdateExport

Grants permission to update an export

billingview

aws:ResourceTag/${TagKey}

Write

export*

aws:ResourceTag/${TagKey}

table*

aws:ResourceTag/${TagKey}

Resource types defined by AWS Billing And Cost Management Data Exports

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

billingview

arn:${Partition}:billing::${Account}:billingview/${ResourceId}

aws:ResourceTag/${TagKey}

export

arn:${Partition}:bcm-data-exports:${Region}:${Account}:export/${Identifier}

aws:ResourceTag/${TagKey}

table

arn:${Partition}:bcm-data-exports:${Region}:${Account}:table/${Identifier}

Condition keys for AWS Billing And Cost Management Data Exports

AWS Billing And Cost Management Data Exports defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by the tags that are passed in the request

String

aws:ResourceTag/${TagKey}

Filters access by the tags associated with the resource

String

aws:TagKeys

Filters access by the tag keys that are passed in the request

ArrayOfString