Amazon S3 on Outposts バケットの一覧表示 - Amazon Simple Storage Service

Amazon S3 on Outposts バケットの一覧表示

Amazon S3 on Outposts を使用すると、AWS Outposts で S3 バケットを作成し、ローカルデータアクセス、ローカルデータ処理、データレジデンシーを必要とするアプリケーション用に、オンプレミスのオブジェクトを簡単に保存および取得できます。S3 on Outposts は、新しいストレージクラス、S3 Outposts (OUTPOSTS) を提供し、これは Amazon S3 API を使用し、AWS Outposts 上の複数のデバイスやサーバー間でデータを永続的かつ冗長的に保存するように設計されています。仮想プライベートクラウド (VPC) を介したアクセスポイントとエンドポイント接続を使用して、Outposts バケットと通信します。Outposts バケットでは、Amazon S3 と同じ API と機能 (アクセスポリシー、暗号化、タグ付けなど) を使用できます。AWS Management Console、AWS Command Line Interface (AWS CLI)、AWS SDK、または REST API を使用して S3 on Outposts を使用できます。詳細については、「Amazon S3 on Outposts とは」を参照してください。

S3 on Outposts 内のバケットの操作の詳細については、S3 on Outposts バケットの操作 を参照してください。

次の例は、AWS Management Console、AWS CLI、および AWS SDK for Java を使用して、S3 on Outposts バケットのリストを返す方法を示しています。

  1. https://console.aws.amazon.com/s3/ で Amazon S3 コンソールを開きます。

  2. 左のナビゲーションペインで、[Outposts buckets] (Outposts バケット) を選択します。

  3. [Outposts buckets] (Outposts バケット) で、S3 on Outposts バケットのリストを確認します。

次の AWS CLI 例では、Outpost 内のバケットのリストを取得します。このコマンドを使用するには、それぞれの user input placeholder をユーザー自身の情報に置き換えます。このコマンドの詳細については、「AWS CLI リファレンス」の「list-regional-buckets」を参照してください。

aws s3control list-regional-buckets --account-id 123456789012 --outpost-id op-01ac5d28a6a232904

次の SDK for Java 例では、Outpost 内のバケットのリストを取得します。詳細については、「Amazon Simple Storage Service API リファレンス」の「ListRegionalBuckets」を参照してください。

import com.amazonaws.services.s3control.model.*; public void listRegionalBuckets() { ListRegionalBucketsRequest reqListBuckets = new ListRegionalBucketsRequest() .withAccountId(AccountId) .withOutpostId(OutpostId); ListRegionalBucketsResult respListBuckets = s3ControlClient.listRegionalBuckets(reqListBuckets); System.out.printf("ListRegionalBuckets Response: %s%n", respListBuckets.toString()); }