skip to Main Content

I need a reliable method to count the nbr of Resources – CentOS

I have the following JSON that comes back from an API: { "Statement": [{ "Sid": "Group1", "Resource": "arn:aws:ecs:*:777744445555:task-rendition/${aws:PrincipalTag/Service}-*:*", "Effect": "Allow" }, { "Sid": "Group2", "Resource": [ "arn:aws:ecs:*:777744445555:task-definition/${aws:PrincipalTag/Service}-*:*", "arn:aws:ecs:*:777744445555:task-petition/${aws:PrincipalTag/Service}-*:*", "arn:aws:ecs:*:777744445555:task-fruition/${aws:PrincipalTag/Service}-*:*" ], "Effect": "Allow" } ]} When I apply these commands I…

VIEW QUESTION
Back To Top
Search