Skip to content

Commit f80fefa

Browse files
authored
Merge branch 'main' into vpcv2_imports
2 parents 04d02f4 + 06678a3 commit f80fefa

File tree

10 files changed

+31923
-565
lines changed

10 files changed

+31923
-565
lines changed

packages/@aws-cdk/aws-scheduler-alpha/lib/schedule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ export class Schedule extends Resource implements ISchedule {
279279

280280
this.key = props.key;
281281
if (this.key) {
282-
this.key.grantEncryptDecrypt(targetConfig.role);
282+
this.key.grantDecrypt(targetConfig.role);
283283
}
284284

285285
this.retryPolicy = targetConfig.retryPolicy;

0 commit comments

Comments
 (0)