I am having a lambda function that trigger a Jenkins job. I want to invoke this lambda when a new ssm parameter is added. I have added the below Custom event pattern in the cloud-watch event pattern.
{
"source": [
"aws.ssm"
],
"detail-type": [
"Parameter Store Change",
"Parameter Store Policy Action"
],
"detail": {
"name": [
"/dev/*"
],
"operation": [
"Create",
"Update",
"Delete",
"LabelParameterVersion"
]
}
}
This means, the lambda need to trigger if i create a ssm parameter start with "/dev/anystring" But the lambda is not triggering if i provide wild card. Any suggestion on this.?