We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c204a1 + 69d16c7 commit 3045fbfCopy full SHA for 3045fbf
template.yaml
@@ -165,6 +165,22 @@ Resources:
165
Ref: 'AWS::StackName'
166
ApiGatewayNotificationTopic:
167
Type: AWS::SNS::Topic
168
+ Properties:
169
+ KmsMasterKeyId: !Ref NotificationsEncryptionKey
170
+ NotificationsEncryptionKey:
171
+ Type: AWS::KMS::Key
172
173
+ Description: SSE for SNS notifications
174
+ KeyPolicy:
175
+ Version: 2012-10-17
176
+ Id: !Ref AWS::StackName
177
+ Statement:
178
+ - Effect: Allow
179
+ Principal:
180
+ AWS:
181
+ - !Sub "arn:${AWS::Partition}:iam::${AWS::AccountId}:root"
182
+ Action: 'kms:*'
183
+ Resource: '*'
184
185
Outputs:
186
WebApi:
0 commit comments