Use-Case: I would like to go through the array of objects, checking each action until one of the actions equals a specific array [ 'sqs:GetQueueAttributes', 'sqs:GetQueueUrl', 'sqs:SendMessage' ],.
I understand, however, I cannot use the === after reading this question.
Array:
[
    {
      Action: [
        'logs:CreateLogDelivery',
      ],
    },
    {
      Action: [ 'sqs:GetQueueAttributes', 'sqs:GetQueueUrl', 'sqs:SendMessage' ],
      Effect: 'Allow',
      Resource: {
        'Fn::ImportValue': 'XXXXXX"
      }
    }
]
How can I do it so I can return true or false?
 
     
     
     
    