Skip to content

Commit

Permalink
feat: add schedule permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOrangePuff authored Oct 12, 2023
1 parent 2549184 commit 43f1065
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/serverless-deploy-iam/bin/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [`*`],
Expand Down

0 comments on commit 43f1065

Please sign in to comment.