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.
1 parent 155114c commit 2de87f2Copy full SHA for 2de87f2
packages/cdk/resources/IamResources.ts
@@ -154,18 +154,23 @@ export class IamResources extends Construct {
154
actions: [
155
"dynamodb:GetItem",
156
"dynamodb:PutItem",
157
- "dynamodb:UpdateItem",
158
"dynamodb:DeleteItem",
159
"dynamodb:Query",
160
- "dynamodb:Scan"
+ "dynamodb:Scan",
+ "dynamodb:BatchGetItem",
161
+ "dynamodb:BatchWriteItem",
162
+ "dynamodb:UpdateItem"
163
],
164
resources: [props.slackBotStateTableArn]
165
})
166
167
const slackBotKmsPolicy = new PolicyStatement({
168
169
+ "kms:Encrypt",
170
"kms:Decrypt",
- "kms:GenerateDataKey"
171
+ "kms:ReEncrypt*",
172
+ "kms:GenerateDataKey*",
173
+ "kms:DescribeKey"
174
175
resources: [props.slackBotStateTableKmsKeyArn]
176
0 commit comments