File tree 1 file changed +13
-10
lines changed
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,10 @@ Resources:
91
91
Resource : !GetAtt
92
92
- rGuardDutyDeadLetterQueue
93
93
- Arn
94
- Principal :
95
- AWS :
96
- - !Sub ' arn:aws:iam::${AWS::AccountId}:root'
94
+ Principal : ' *'
95
+ Condition :
96
+ ArnEquals :
97
+ ' aws:Sourcearn ' : !Sub 'arn:aws:s3:::${pGuardDutyBucketName}'
97
98
Queues :
98
99
- !Ref rGuardDutyDeadLetterQueue
99
100
@@ -168,9 +169,10 @@ Resources:
168
169
Resource : !GetAtt
169
170
- rCloudTrailDeadLetterQueue
170
171
- Arn
171
- Principal :
172
- AWS :
173
- - !Sub ' arn:aws:iam::${AWS::AccountId}:root'
172
+ Principal : ' *'
173
+ Condition :
174
+ ArnEquals :
175
+ ' aws:Sourcearn ' : !Sub 'arn:aws:s3:::${pGuardDutyBucketName}'
174
176
Queues :
175
177
- !Ref rCloudTrailDeadLetterQueue
176
178
@@ -244,9 +246,10 @@ Resources:
244
246
Resource : !GetAtt
245
247
- rControlTowerPreProcessedDeadLetterQueue
246
248
- Arn
247
- Principal :
248
- AWS :
249
- - !Sub ' arn:aws:iam::${AWS::AccountId}:root'
249
+ Principal : ' *'
250
+ Condition :
251
+ ArnEquals :
252
+ ' aws:Sourcearn ' : !Sub 'arn:aws:s3:::${pGuardDutyBucketName}'
250
253
Queues :
251
254
- !Ref rControlTowerPreProcessedDeadLetterQueue
252
255
@@ -696,4 +699,4 @@ Outputs:
696
699
Value : !GetAtt [rGuardDutyQueue, Arn]
697
700
oDeepwatchRoleArn :
698
701
Description : The Arn of the IAM Role for Deepwatch log ingestion, supply to Deepwatch onboarding engineer
699
- Value : !GetAtt [rDeepwatchRole, Arn]
702
+ Value : !GetAtt [rDeepwatchRole, Arn]
You can’t perform that action at this time.
0 commit comments