File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -267,25 +267,24 @@ Resources:
267
267
Type: AWS::IAM::Role
268
268
Properties:
269
269
RoleName: "opensearch_sns_nress-prod"
270
- AssumeRolePolicyDocument:
271
- Version: "2012-10-17"
272
- Statement:
273
- Sid: "",
274
- Effect: "Allow"
275
- Principal: {
276
- Service: " es.amazonaws.com"
277
- } ,
278
- "Action": "sts:AssumeRole"
279
270
Policies:
280
- - PolicyName: ' opensearch_sns_role_policy'
271
+ - PolicyName: " opensearch_sns_role_policy"
281
272
PolicyDocument:
282
273
Version: "2012-10-17"
283
274
Statement:
284
- - Effect: Allow
275
+ - Effect: " Allow"
285
276
Action:
286
- - sns:Publish
277
+ - " sns:Publish"
287
278
Resource:<% notifications.filter((n) => n.configType == 'sns').forEach((notification) => { %>
288
- - ! GetAtt <% = notification.entity %> .TopicArn<% } ); -%>
279
+ - ! GetAtt <% = notification.entity %> .TopicArn<% } ); %>
280
+ AssumeRolePolicyDocument:
281
+ Version: "2012-10-17"
282
+ Statement:
283
+ - Action: "sts:AssumeRole"
284
+ Effect: "Allow"
285
+ Principal:
286
+ Service: "es.amazonaws.com"
287
+ Sid: ""
289
288
<% notifications.filter((n) => n.configType == 'sns').forEach((notification) => { %>
290
289
<% = notification.entity %> :
291
290
Type: AWS::SNS::Topic
You can’t perform that action at this time.
0 commit comments