Using Amazon S3 buckets with Amazon Braket
Braket can accept a bucket to CreateQuantumTask or CreateHybridJob when it satisfies either of the following conditions:
-
The bucket name begins with
amazon-braket-. -
The general-purpose bucket has a tag with key
AmazonBraketand valuetrueand is enabled for attribute-based access control (ABAC).For instructions on enabling ABAC on your Amazon S3 bucket, see Enabling attribute-based access control (ABAC) for a general purpose bucket. For instructions on adding the
AmazonBrakettag, see Adding a tag to a bucket.
As a policy example, the AmazonBraketJobsExecutionPolicy managed policy shows how to allow Braket to use buckets with either condition satisfied.
Amazon S3 ABAC is disabled by default on general-purpose buckets
You must enable Amazon S3 ABAC on a tagged general-purpose bucket before using it with Amazon Braket.