Skip to content

feat(iam): generate events:PutTargets policy for aws-sdk:eventbridge:putTargets#739

Merged
zirkelc merged 1 commit intomasterfrom
feat-506-eventbridge-puttargets-iam
Mar 31, 2026
Merged

feat(iam): generate events:PutTargets policy for aws-sdk:eventbridge:putTargets#739
zirkelc merged 1 commit intomasterfrom
feat-506-eventbridge-puttargets-iam

Conversation

@VirtueMe
Copy link
Copy Markdown
Collaborator

Summary

  • Adds getPutTargetsPermissions handler for arn:aws:states:::aws-sdk:eventbridge:putTargets and the .waitForTaskToken variant
  • When Rule is a static string the policy is scoped to the specific rule ARN; if EventBusName is also provided it is included in the path
  • Dynamic Rule values (JSONPath .$ / JSONata {%...%}) fall back to *

Closes #506

Test plan

  • npm test passes
  • New getPutTargetsPermissions tests cover: dynamic rule → *, static rule without event bus, static rule with event bus, both JSONPath and JSONata

🤖 Generated with Claude Code

…putTargets

Adds a getPutTargetsPermissions handler for the aws-sdk EventBridge
putTargets integration, covering both the standard and .waitForTaskToken
variants. When Rule is a static string the policy is scoped to the
specific rule ARN (including EventBusName when provided); dynamic
Rule values fall back to *.

Closes #506

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 31, 2026

Open in StackBlitz

npm i https://pkg.pr.new/serverless-operations/serverless-step-functions@739

commit: 04cfc50

@zirkelc zirkelc merged commit dfbf54b into master Mar 31, 2026
3 checks passed
@zirkelc zirkelc deleted the feat-506-eventbridge-puttargets-iam branch March 31, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support arn:aws:states:::aws-sdk:eventbridge:putTargets.waitForTaskToken

2 participants