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

查看目录存储桶的接入点的详细信息

本节介绍如何使用 Amazon Web Services Management Console、Amazon CLI、Amazon SDK 或 REST API 查看目录存储桶的接入点的详细信息。

查看目录存储桶的接入点的详细信息,以查看有关该接入点和关联目录存储桶的以下信息:

  • 属性:

    • 目录存储桶名称

    • 目录存储桶所有者账户 ID

    • Amazon Web Services 区域

    • 目录存储桶位置类型

    • 目录存储桶位置名称

    • 接入点的创建日期

    • 网络来源

    • VPC ID

    • S3 URI

    • 访问点 ARN

    • 接入点别名

  • 权限:

    • IAM 外部访问分析器调查发现

    • 接入点范围

    • 接入点策略

查看 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. 选择属性选项卡或权限选项卡。

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

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

aws s3control get-access-point --name my-access-point--zoneID--xa-s3 --account-id 111122223333
get-access-point 命令的输出
{ "Name": "example-access-point--zoneID--xa-s3", "Bucket": "amzn-s3-demo-bucket--zone-id--x-s3", "NetworkOrigin": "Internet", "PublicAccessBlockConfiguration": { "BlockPublicAcls": true, "IgnorePublicAcls": true, "BlockPublicPolicy": true, "RestrictPublicBuckets": true }, "CreationDate": "2025-04-23T18:26:22.146000+00:00", "Alias": "example-access-point--zoneID--xa-s3", "AccessPointArn": "arn:aws:s3express:region:111122223333:accesspoint/example-access-point--zoneID--xa-s3", "BucketAccountId": "296805379465" }

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

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

可以使用 Amazon SDK 查看接入点的详细信息。有关更多信息,请参阅《Amazon Simple Storage Service API Reference》中的 list of supported SDKs