View a markdown version of this page

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

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

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

References:

Actions defined by AWS Billing and Cost Management Data Hub

You can specify the following actions in the Action element of an IAM policy statement. For each action, the table lists the resource types and condition keys supported by that action. 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

CancelQueryExecution

Grants permission to cancel a query execution

dataset*

aws:ResourceTag/${TagKey}

Write

CreateDataset

Grants permission to create a dataset

dataset*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

DeleteDataset

Grants permission to delete a dataset

dataset*

aws:ResourceTag/${TagKey}

Write

GetDataset

Grants permission to get a dataset

dataset*

aws:ResourceTag/${TagKey}

Read

GetDatasetSchema

Grants permission to get a dataset schema

Read

GetQueryExecution

Grants permission to get a query execution

dataset*

aws:ResourceTag/${TagKey}

Read

GetQueryExecutionResults

Grants permission to get query execution results

dataset*

aws:ResourceTag/${TagKey}

Read

ListDatasets

Grants permission to list datasets

List

ListQueryExecutions

Grants permission to list query executions

List

ListTagsForResource

Grants permission to list tags for a resource

dataset*

aws:ResourceTag/${TagKey}

Read

StartQueryExecution

Grants permission to start a query execution

dataset*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to tag a resource

dataset*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UntagResource

Grants permission to untag a resource

dataset*

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

UpdateDataset

Grants permission to update a dataset

dataset*

aws:ResourceTag/${TagKey}

Write

Resource types defined by AWS Billing and Cost Management Data Hub

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

dataset

arn:${Partition}:bcm-data-hub:${Region}:${Account}:dataset/${Identifier}

aws:ResourceTag/${TagKey}

Condition keys for AWS Billing and Cost Management Data Hub

AWS Billing and Cost Management Data Hub 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