1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
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!
respondido há 2 meses
Conteúdo relevante
- AWS OFICIALAtualizada há 3 anos