input transformer in eventbridge giving error 'targets.1.member.inputTransformer.inputPathsMap' failed to satisfy constraint

0

Hi, i am trying to customize my output using input transformer, but I am getting this error at 'targets.1.member.inputTransformer.inputPathsMap' failed to satisfy constraint: Map keys must satisfy constraint: [Member must have length less than or equal to 256, Member must have length greater than or equal to 1, Member must satisfy regular expression pattern: [A-Za-z0-9_-]+]. I am not able to understand whats the actual error, I have included all the path correctly and also in in template all are in between double quotes but still getting this error. i am trying it for cloudtrail events. below is my input path

{
  "time": "$.time",
  "region": "$.region",
  "sourceIPAddress": "$.detail.sourceIPAddress",
  "eventName": "$.detail.eventName",
  "routeTableId" : "$.detail.requestParameters[0].routeTableId",
  "arnId": "$.detail.userIdentity[0].arn",
  "userName": "$.detail.userIdentity[0].userName",
  "vpcId": "$.detail.requestParameters[0].vpcId",
  "detail.type": "$.detail-type",
  "eventType": "$.eventType"
}

If anyone can help me to resolve the issue it will be really helpful for me

질문됨 2년 전108회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠