diff --git a/examples/sqsworker/config/s3-notification.json b/examples/sqsworker/config/s3-notification.json index a46b209..ac23acb 100644 --- a/examples/sqsworker/config/s3-notification.json +++ b/examples/sqsworker/config/s3-notification.json @@ -1,10 +1,11 @@ { - "TopicConfigurations": [ - { - "Id": "s3-upload-notification-to-sns", - "TopicArn": "arn:aws:sns:us-east-1:000000000000:kyoo-images-topic", - "Events": ["s3:ObjectCreated:*"] - } - ] - } - \ No newline at end of file + "TopicConfigurations": [ + { + "Id": "s3-upload-notification-to-sns", + "TopicArn": "arn:aws:sns:us-east-1:000000000000:kyoo-images-topic", + "Events": [ + "s3:ObjectCreated:*" + ] + } + ] +} \ No newline at end of file diff --git a/examples/sqsworker/config/sns-permission.json b/examples/sqsworker/config/sns-permission.json index fc1cab3..9929cc2 100644 --- a/examples/sqsworker/config/sns-permission.json +++ b/examples/sqsworker/config/sns-permission.json @@ -1,21 +1,20 @@ { - "Version": "2012-10-17", - "Id": "allow-s3-publishing-to-sns", - "Statement": [ - { - "Sid": "dev-images-s3-sid", - "Effect": "Allow", - "Principal": { - "AWS": "*" - }, - "Action": "SNS:Publish", - "Resource": "arn:aws:sns:us-east-1:000000000000:kyoo-images-topic", - "Condition": { - "ArnEquals": { - "aws:SourceArn": "arn:aws:s3:::local-kyoo-bucket" - } + "Version": "2012-10-17", + "Id": "allow-s3-publishing-to-sns", + "Statement": [ + { + "Sid": "dev-images-s3-sid", + "Effect": "Allow", + "Principal": { + "AWS": "*" + }, + "Action": "SNS:Publish", + "Resource": "arn:aws:sns:us-east-1:000000000000:kyoo-images-topic", + "Condition": { + "ArnEquals": { + "aws:SourceArn": "arn:aws:s3:::local-kyoo-bucket" } } - ] - } - \ No newline at end of file + } + ] +} \ No newline at end of file diff --git a/examples/sqsworker/config/sqs-permission.json b/examples/sqsworker/config/sqs-permission.json index ad097d0..d54904c 100644 --- a/examples/sqsworker/config/sqs-permission.json +++ b/examples/sqsworker/config/sqs-permission.json @@ -1,21 +1,20 @@ { - "Version": "2012-10-17", - "Id": "allow-sns-sending-message-to-sqs", - "Statement": [ - { - "Sid": "dev-images-sqs-sid", - "Effect": "Allow", - "Principal": { - "AWS": "*" - }, - "Action": "SQS:SendMessage", - "Resource": "arn:aws:sqs:us-east-1:000000000000:kyoo-images-queue", - "Condition": { - "ArnEquals": { - "aws:SourceArn": "arn:aws:sns:us-east-1:000000000000:kyoo-images-topic" - } + "Version": "2012-10-17", + "Id": "allow-sns-sending-message-to-sqs", + "Statement": [ + { + "Sid": "dev-images-sqs-sid", + "Effect": "Allow", + "Principal": { + "AWS": "*" + }, + "Action": "SQS:SendMessage", + "Resource": "arn:aws:sqs:us-east-1:000000000000:kyoo-images-queue", + "Condition": { + "ArnEquals": { + "aws:SourceArn": "arn:aws:sns:us-east-1:000000000000:kyoo-images-topic" } } - ] - } - \ No newline at end of file + } + ] +} \ No newline at end of file