Possible to use nest json when configuring rule target constant input

0

Good Morning,

What I am trying to accomplish is to have a Cloudwatch rule that is scheduled to run daily that will go into an Athena database and create a new partition in several tables for that day using a constant target input. It is for a single database with several different tables and different s3 locations. Is it possible to set up the input using nested json and if so is this proper format--

{
"albPathFragment": "/AWSLogs/409148389496/elasticloadbalancing/",
"database": "site-reliability",
{
"table": "ha_east_rest_osp_alb",
"location": "xxxx-elblogs/Alb-Logs",
"region": "us-east-1"
},
{
"table": "ha_west_rest_osp_alb"
"location": "xxxx-elblogs-uw2/Alb-Logs",
"region": "us-west-2"
}
}

TIA,
Bill

질문됨 4년 전263회 조회
1개 답변
0

Figured out what the issue was - my json wasn't formatted correctly. When formatted correctly works like a charm

답변함 4년 전

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

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

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

관련 콘텐츠