I’m trying to figure out how to add a property that describes how many objects are in an S3 bucket. Please look at the following:
{
"source": ["aws.s3"],
"detail-type": ["Object Created"],
"detail": {
"bucket": {
"name": ["bucketname"]
**"property-that-describes-number-of-objects": 30**
}
}
}
I tried “object-count”: 30, but that generated an error since that property didn’t exist.