scope

val scope: Scope?

For directory buckets, you can filter access control to specific prefixes, API operations, or a combination of both. For more information, see Managing access to shared datasets in directory buckets with access points in the Amazon S3 User Guide.

Scope is only supported for access points attached to directory buckets.