アクセスポイント設定に関する情報を表示する
アクセスポイントは、Amazon S3 の共有データセットへの大規模なデータアクセスの管理を簡素化します。アクセスポイントは、バケットにアタッチされた名前付きのネットワークエンドポイントで、Amazon S3 オブジェクトのオペレーション (GetObject
や PutObject
など) を実行するために使用できます。S3 on Outposts では、Outposts バケット内の任意のオブジェクトにアクセスするにはアクセスポイントを使用する必要があります。アクセスポイントでは、仮想ホスト形式のアドレス指定のみがサポートされます。
以下のトピックでは、AWS Management Console、AWS Command Line Interface (AWS CLI)、および AWS SDK for Java を使用して S3 on Outposts アクセスポイントの設定情報を返す方法について説明します。
https://console.aws.amazon.com/s3/
で Amazon S3 コンソールを開きます。 -
左のナビゲーションペインで、[Outposts access points] (Outposts アクセスポイント) を選択します。
-
設定の詳細を表示する Outposts アクセスポイントを選択します。
-
[Outposts access point overview] (Outposts アクセスポイントの概要) で、アクセスポイント設定の詳細を確認します。
次の AWS CLI の例では、Outposts バケットのアクセスポイントを取得します。
を、ユーザー自身の情報に置き換えます。user input placeholders
aws s3control get-access-point --account-id
123456789012
--name arn:aws:s3-outposts:region
:123456789012
:outpost/op-01ac5d28a6a232904
/accesspoint/example-outposts-access-point
次の SDK for Java の例では、Outposts バケットのアクセスポイントを取得します。
import com.amazonaws.services.s3control.model.*; public void getAccessPoint(String accessPointArn) { GetAccessPointRequest reqGetAP = new GetAccessPointRequest() .withAccountId(AccountId) .withName(accessPointArn); GetAccessPointResult respGetAP = s3ControlClient.getAccessPoint(reqGetAP); System.out.printf("GetAccessPoint Response: %s%n", respGetAP.toString()); }