{ "Version": "2012-10-17", "Statement": [{ "Sid": "CreateAlertLogicSqsQueueToSubscribeToCloudTrailsSnsTopicNotifications", "Effect": "Allow", "Action": [ "sqs:CreateQueue", "sqs:DeleteQueue", "sqs:SetQueueAttributes", "sqs:GetQueueAttributes", "sqs:ListQueues", "sqs:ReceiveMessage", "sqs:DeleteMessage", "sqs:GetQueueUrl" ], "Resource": "arn:aws:sqs:*:*:outcomesbucket*" }, { "Sid": "ReadExistingCloudTrailsTopic", "Effect": "Allow", "Action": [ "sns:gettopicattributes", "sns:listtopics", "sns:settopicattributes", "sns:subscribe" ], "Resource": "*" }, { "Sid": "ReadExistingCloudTrailS3Bucket1", "Effect": "Allow", "Action": [ "s3:GetObject" ], "Resource": "arn:aws:s3:::BUCKET_NAME/*" }, { "Sid": "ReadExistingCloudTrailS3Bucket2", "Effect": "Allow", "Action": [ "s3:ListBucket", "s3:GetBucketPolicy", "s3:GetBucketLocation" ], "Resource": "arn:aws:s3:::BUCKET_NAME" }, { "Sid": "BeAbleToValidateOurRoleAndDiscoverIAM", "Effect": "Allow", "Action": [ "iam:List*", "iam:Get*" ], "Resource": "*" } ] }