1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
I found a way to do it using Content-based filtering with $or matching.
Documentation is still unclear about the specific use case but after a couple of trials and errors I got it working by declaring the event pattern like this:
{
"source": ["aws.s3"],
"detail-type": ["Object Created"],
"detail": {
"bucket": {
"name": ["some-bucket"]
},
"$or": [
{
"object": {
"key": [{
"prefix": "some-prefix/"
}]
}
},
{
"object": {
"key": [{
"prefix": "some-other-prefix/"
}]
}
}
]
}
}
Hope it helps!
répondu il y a 25 jours
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans