This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
generated from kaskadi/template-kaskadi-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eu-mws-notif-queues+topic.yml
114 lines (109 loc) · 2.81 KB
/
eu-mws-notif-queues+topic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
MwsReportSubDE:
Type: AWS::SQS::Queue
Properties:
QueueName: mws-report-sub-DE
MwsReportSubPolicyDE:
Type: AWS::SQS::QueuePolicy
Properties:
Queues:
- !Ref MwsReportSubDE
PolicyDocument:
Version: "2012-10-17"
Id: MwsReportSubDEPolicy
Statement:
- Sid: allow-MWS-send-messages
Action:
- sqs:GetQueueAttributes
- sqs:SendMessage
Effect: Allow
Resource: !GetAtt MwsReportSubDE.Arn
Principal:
AWS: arn:aws:iam::437568002678:root
MwsReportSubES:
Type: AWS::SQS::Queue
Properties:
QueueName: mws-report-sub-ES
MwsReportSubPolicyES:
Type: AWS::SQS::QueuePolicy
Properties:
Queues:
- !Ref MwsReportSubES
PolicyDocument:
Version: "2012-10-17"
Id: MwsReportSubESPolicy
Statement:
- Sid: allow-MWS-send-messages
Action:
- sqs:GetQueueAttributes
- sqs:SendMessage
Effect: Allow
Resource: !GetAtt MwsReportSubES.Arn
Principal:
AWS: arn:aws:iam::437568002678:root
MwsReportSubFR:
Type: AWS::SQS::Queue
Properties:
QueueName: mws-report-sub-FR
MwsReportSubPolicyFR:
Type: AWS::SQS::QueuePolicy
Properties:
Queues:
- !Ref MwsReportSubFR
PolicyDocument:
Version: "2012-10-17"
Id: MwsReportSubFRPolicy
Statement:
- Sid: allow-MWS-send-messages
Action:
- sqs:GetQueueAttributes
- sqs:SendMessage
Effect: Allow
Resource: !GetAtt MwsReportSubFR.Arn
Principal:
AWS: arn:aws:iam::437568002678:root
MwsReportSubGB:
Type: AWS::SQS::Queue
Properties:
QueueName: mws-report-sub-GB
MwsReportSubPolicyGB:
Type: AWS::SQS::QueuePolicy
Properties:
Queues:
- !Ref MwsReportSubGB
PolicyDocument:
Version: "2012-10-17"
Id: MwsReportSubGBPolicy
Statement:
- Sid: allow-MWS-send-messages
Action:
- sqs:GetQueueAttributes
- sqs:SendMessage
Effect: Allow
Resource: !GetAtt MwsReportSubGB.Arn
Principal:
AWS: arn:aws:iam::437568002678:root
MwsReportSubIT:
Type: AWS::SQS::Queue
Properties:
QueueName: mws-report-sub-IT
MwsReportSubPolicyIT:
Type: AWS::SQS::QueuePolicy
Properties:
Queues:
- !Ref MwsReportSubIT
PolicyDocument:
Version: "2012-10-17"
Id: MwsReportSubITPolicy
Statement:
- Sid: allow-MWS-send-messages
Action:
- sqs:GetQueueAttributes
- sqs:SendMessage
Effect: Allow
Resource: !GetAtt MwsReportSubIT.Arn
Principal:
AWS: arn:aws:iam::437568002678:root
MwsReportTopic:
Type: AWS::SNS::Topic
Properties:
TopicName: mws-report-topic