2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
1
I tested with AWS CLI (aws-cli/2.14.6 Python/3.11.6 Darwin/22.6.0 exe/x86_64 prompt/off) and could observe same symptom as you mentioned. I think there would be a room for improvement for better customer experience.
For a directory bucket,
aws s3api list-objects-v2 --bucket bucketname (Working)
aws s3api list-directory-buckets (Working)
aws s3 ls (Directory bucket was not displayed.)
aws s3 ls bucketname (Working)
0
You would need to specify bucket/${BucketName} in arn of your policy.
eg:-
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3express:*"
],
"Resource": "arn:${Partition}:s3express:${Region}:${Account}:bucket/${BucketName}"
}
]
}
or you can also use - arn:${Partition}:s3express:${Region}:${Account}:bucket/*
respondido hace un año
Contenido relevante
preguntada hace 8 meses
preguntada hace 7 meses
preguntada hace 8 meses
preguntada hace 8 meses

Thank you, this is great. But now I am even more confused as to why this does not work from Lambda.