Skip to content

Conversation

@Abogical
Copy link
Member

Adds a grant API for RedriveExecution as described here: https://docs.aws.amazon.com/step-functions/latest/dg/redrive-executions.html#redrive-iam-permission

Issue # (if applicable)

Closes #33578.

Reason for this change

Redrive execution grant API is missing in the state machine. This grant would be useful especially when using distributed maps.

Description of changes

  • Added a grant method for RedriveExecution
  • Corresponding unit and integration tests

Describe any new or updated permissions being added

The new IAM policy added by the grant method is described here: https://docs.aws.amazon.com/step-functions/latest/dg/redrive-executions.html#redrive-iam-permission

Description of how you validated changes

Unit and integration tests have been added and have validated these changes.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 labels May 26, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team May 26, 2025 08:24
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label May 26, 2025
@Abogical Abogical force-pushed the aws-stepfunctions-grant-redrive-execution branch from d09462b to 254e44d Compare May 26, 2025 14:12
@aws-cdk-automation aws-cdk-automation dismissed their stale review May 26, 2025 14:14

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation removed the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label May 26, 2025
@Abogical Abogical added the pr-linter/no-exemption The requested exemption will not be granted to the PR linter result label May 26, 2025
@Abogical Abogical marked this pull request as ready for review May 26, 2025 14:15
@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label May 26, 2025
@Abogical Abogical added contribution/core This is a PR that came from AWS. and removed pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. labels May 27, 2025
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label May 27, 2025
@aemada-aws aemada-aws self-assigned this May 30, 2025
@mergify
Copy link
Contributor

mergify bot commented May 30, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label May 30, 2025
@mergify
Copy link
Contributor

mergify bot commented May 30, 2025

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated.

You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@mergify
Copy link
Contributor

mergify bot commented May 30, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented May 31, 2025

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated.

You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@Abogical Abogical force-pushed the aws-stepfunctions-grant-redrive-execution branch from 254e44d to 3698db4 Compare June 2, 2025 08:20
@mergify
Copy link
Contributor

mergify bot commented Jun 2, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 230bacd
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Jun 2, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit e03939d into aws:main Jun 2, 2025
16 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2025

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 pr-linter/no-exemption The requested exemption will not be granted to the PR linter result

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-cdk-lib/aws-stepfunctions: Configure IAM policy to redrive from failure on labelled execution for DistributedMap failures

3 participants