查看通用存储桶的接入点的详细信息 - Amazon Simple Storage Service
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

查看通用存储桶的接入点的详细信息

本节介绍如何使用 Amazon Web Services Management Console、Amazon Command Line Interface或 REST API 来查看通用存储桶的接入点的详细信息。

查看 Amazon Web Services 账户中接入点的详细信息
  1. 登录到 Amazon Web Services Management Console,然后通过以下网址打开 Amazon S3 控制台:https://console.aws.amazon.com/s3/

  2. 在页面顶部的导航栏中,选择当前所显示 Amazon Web Services 区域的名称。接下来,选择要列出其接入点的区域。

  3. 在控制台左侧的导航窗格中,选择接入点

  4. (可选)按名称搜索接入点。只有您选择的 Amazon Web Services 区域中的接入点才会出现在此处。

  5. 选择要管理或使用的接入点的名称。

  6. 选择属性选项卡以查看所选接入点的接入点存储桶、账户 ID、Amazon Web Services 区域、创建日期、网络来源、S3 URI、ARN 和接入点别名。

  7. 选择权限选项卡,以查看所选接入点的屏蔽公共访问权限设置和接入点策略。

    注意

    创建接入点后,您无法更改接入点的屏蔽公共访问权限设置。

以下 get-access-point 示例命令显示了如何使用 Amazon CLI 来查看接入点的详细信息。

以下命令列出了 Amazon Web Services 账户 111122223333 的接入点 my-access-point 的详细信息。

aws s3control get-access-point --name my-access-point --account-id 111122223333

输出示例:

{ "Name": "my-access-point", "Bucket": "amzn-s3-demo-bucket", "NetworkOrigin": "Internet", "PublicAccessBlockConfiguration": { "BlockPublicAcls": true, "IgnorePublicAcls": true, "BlockPublicPolicy": true, "RestrictPublicBuckets": true }, "CreationDate": "2016-08-29T22:57:52Z", "Alias": "my-access-point-u1ny6bhm7moymqx8cuon8o1g4mwikuse2a-s3alias", "AccessPointArn": "arn:aws:s3:Amazon Web Services 区域:111122223333:accesspoint/my-access-point", "Endpoints": { "ipv4": "s3-accesspoint.Amazon Web Services 区域.amazonaws.com", "fips": "s3-accesspoint-fips.Amazon Web Services 区域.amazonaws.com", "fips_dualstack": "s3-accesspoint-fips.dualstack.Amazon Web Services 区域.amazonaws.com", "dualstack": "s3-accesspoint.dualstack.Amazon Web Services 区域.amazonaws.com" }, "BucketAccountId": "111122223333" }

有关更多信息和示例,请参阅《Amazon CLI 命令参考》中的 get-access-point

可以使用 REST API 查看接入点的详细信息。有关更多信息,请参阅《Amazon Simple Storage Service API 参考》中的 GetAccessPoint