The resource name “ARN” should be available on the bucket policy edit page.
Then name can be thought of as a directory path. To specify a directory, modify
the path to point to the directory. To apply the configuration for all
s3 objects in the directory add /*.