Viewing a list of your Amazon S3 on Outposts endpoints - Amazon Simple Storage Service

Viewing a list of your Amazon S3 on Outposts endpoints

To route requests to an Amazon S3 on Outposts access point, you must create and configure an S3 on Outposts endpoint. Each virtual private cloud (VPC) on your Outpost can have one associated endpoint. For more information about endpoint quotas, see S3 on Outposts network requirements. You must create these endpoints to be able to access your Outposts buckets and perform object operations. For more information, see Endpoints.

The following examples show you how to return a list of your S3 on Outposts endpoints by using the AWS Management Console, AWS Command Line Interface (AWS CLI), and AWS SDK for Java.

  1. Open the Amazon S3 console at https://console.aws.amazon.com/s3/.

  2. In the left navigation pane, choose Outposts access points.

  3. On the Outposts access points page, choose the Outposts endpoints tab.

  4. Under Outposts endpoints, you can view a list of your S3 on Outposts endpoints.

The following AWS CLI example lists the endpoints for the AWS Outposts resources that are associated with your account. For more information about this command, see list-endpoints in the AWS CLI Reference.

aws s3outposts list-endpoints

The following SDK for Java example lists the endpoints for an Outpost. For more information, see ListEndpoints in the Amazon Simple Storage Service API Reference.

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); }