Amazon S3 on Outposts エンドポイントのリストを表示する - Amazon Simple Storage Service

Amazon S3 on Outposts エンドポイントのリストを表示する

Amazon S3 on Outposts のアクセスポイントにリクエストをルーティングするには、S3 on Outposts エンドポイントを作成し設定する必要があります。エンドポイントを作成するには、Outposts のホームリージョンへのサービスリンクとのアクティブな接続が必要です。Outpost 上の各仮想プライベートクラウド (VPC) に 1 つのエンドポイントを関連付けることができます。エンドポイントクォータの詳細については、 S3 on Outposts のネットワーク要件 を参照してください。Outposts バケットにアクセスしてオブジェクトオペレーションを実行できるようにするには、エンドポイントを作成する必要があります。詳細については、「エンドポイント」を参照してください。

次の例は、AWS Management Console、AWS Command Line Interface (AWS CLI)、および AWS SDK for Java を使用して、S3 on Outposts エンドポイントのリストを返す方法を示しています。

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

  2. 左のナビゲーションペインで、[Outposts access points] (Outposts アクセスポイント) を選択します。

  3. [Outposts access points](Outposts アクセスポイント) ページで、[Outposts endpoints] (Outposts エンドポイント) タブを選択します。

  4. [Outposts endpoints] (Outposts エンドポイント) で、S3 on Outposts エンドポイントのリストを表示できます。

次の AWS CLI の例では、お客様のアカウントに関連付けられた AWS Outposts のリソースのエンドポイントを一覧表示します。このコマンドの詳細については、「AWS CLI リファレンス」の「list-endpoints」を参照してください。

aws s3outposts list-endpoints

次のSDK for Java の例では、Outposts のエンドポイントを一覧表示します。詳細については、「Amazon Simple Storage Service API リファレンス」の「ListEndpoints」を参照してください。

import com.amazonaws.services.s3outposts.AmazonS3Outposts; import com.amazonaws.services.s3outposts.AmazonS3OutpostsClientBuilder; import com.amazonaws.services.s3outposts.model.ListEndpointsRequest; import com.amazonaws.services.s3outposts.model.ListEndpointsResult; public void listEndpoints() { AmazonS3Outposts s3OutpostsClient = AmazonS3OutpostsClientBuilder .standard().build(); ListEndpointsRequest listEndpointsRequest = new ListEndpointsRequest(); ListEndpointsResult listEndpointsResult = s3OutpostsClient.listEndpoints(listEndpointsRequest); System.out.println("List endpoints result is " + listEndpointsResult); }