diff --git a/packages/serverless-deploy-iam/bin/app.ts b/packages/serverless-deploy-iam/bin/app.ts index 0fdd6a4..2dce9bf 100644 --- a/packages/serverless-deploy-iam/bin/app.ts +++ b/packages/serverless-deploy-iam/bin/app.ts @@ -231,6 +231,17 @@ export class ServiceDeployIAM extends cdk.Stack { "events:UntagResource" ] }, + { + name: 'SCHEDULER', + prefix: `arn:aws:scheduler:${region}:${accountId}:schedule/default/`, + qualifiers: [`${serviceName}*`], + actions: [ + "scheduler:GetSchedule", + "scheduler:CreateSchedule", + "scheduler:UpdateSchedule", + "scheduler:DeleteSchedule" + ] + }, { name: 'API_GATEWAY', resources: [`*`],