【发布时间】:2020-08-19 10:41:13
【问题描述】:
我想过滤从特定 VPC 外部对 S3 的访问,并计划应用 this article 之类的策略。
在这种情况下,通过在Condition 中使用aws:sourceVpce,我们可以过滤掉除特定VPC 端点之外的访问。
但我的 S3 存储桶有另一个策略允许从其他 AWS 服务访问以存储日志。而且我担心这些访问权限是否也会被过滤。
我读了document about aws:sourceVpce,上面写着This key is included in the request context only if the requester uses a VPC endpoint to make the request.。
这是否意味着aws:sourceVpce 不会过滤不使用 VPC 端点的请求,或者过滤除使用特定 VPC 端点之外的任何类型的请求?
【问题讨论】:
标签: amazon-web-services amazon-s3 amazon-vpc