Actions, resources, and condition keys for Amazon Braket
Amazon Braket (service prefix: braket) 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 Braket
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 |
|---|---|---|---|---|
|
CancelJob |
Write |
|||
|
CancelQuantumTask |
Write |
|||
|
CreateJob |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
braket.amazonaws.com, sagemaker.amazonaws.com |
Write |
||
|
CreateQuantumTask |
Write |
|||
Tagging, Write |
||||
|
CreateSpendingLimit |
Write |
|||
Tagging, Write |
||||
|
DeleteSpendingLimit |
Write |
|||
|
GetDevice |
Read |
|||
|
GetJob |
Read |
|||
|
GetQuantumTask |
Read |
|||
|
ListTagsForResource |
Read |
|||
|
SearchDevices |
List |
|||
|
SearchJobs |
List |
|||
|
SearchQuantumTasks |
List |
|||
|
SearchSpendingLimits |
Read |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateSpendingLimit |
Write |
Actions defined by Amazon Braket
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 cancel a job |
Write |
|||
Grants permission to cancel a quantum task |
Write |
|||
Grants permission to create a job |
Write |
|||
Grants permission to create a quantum task |
Write |
|||
Grants permission to create a spending limit |
Write |
|||
Grants permission to delete a spending limit |
Write |
|||
Grants permission to retrieve information about the devices available in Amazon Braket |
Read |
|||
Grants permission to retrieve jobs |
Read |
|||
Grants permission to retrieve quantum tasks |
Read |
|||
Grants permission to listing the tags that have been applied to the quantum task resource or the job |
Read |
|||
Grants permission to search for devices available in Amazon Braket |
List |
|||
Grants permission to search for jobs |
List |
|||
Grants permission to search for quantum tasks |
List |
|||
Grants permission to search for spending limit |
Read |
|||
Grants permission to add one or more tags to a quantum task or a hybrid job |
Tagging, Write |
|||
Grants permission to remove one or more tags from a quantum task resource or a job. A tag consists of a key-value pair |
Tagging, Write |
|||
Grants permission to update a spending limit |
Write |
Permission-only actions for Amazon Braket
The following actions are defined by Amazon Braket 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 accept the Amazon Braket user agreement |
Write |
|||
Grants permission to check if the Amazon Braket service linked role has been created |
Read |
|||
Grants permission to check if the account has accepted the Amazon Braket user agreement |
Read |
Resource types defined by Amazon Braket
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}:braket:*:*:device/${DeviceType}/${Provider}/${DeviceId} |
||
arn:${Partition}:braket:${Region}:${Account}:job/${RandomId} |
||
arn:${Partition}:braket:${Region}:${Account}:quantum-task/${RandomId} |
||
arn:${Partition}:braket:${Region}:${Account}:spending-limit/${RandomId} |
Condition keys for Amazon Braket
Amazon Braket 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 presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |