Skip to content

docs(lambda): add durable function policy suggestion.#37178

Open
dhegberg wants to merge 1 commit intoaws:mainfrom
dhegberg:docs/add-durable-function-policy-suggestion
Open

docs(lambda): add durable function policy suggestion.#37178
dhegberg wants to merge 1 commit intoaws:mainfrom
dhegberg:docs/add-durable-function-policy-suggestion

Conversation

@dhegberg
Copy link
Copy Markdown

@dhegberg dhegberg commented Mar 5, 2026

Issue # N/A

Closes # N/A.

Reason for this change

Lambda Durable Functions added a new managed policy when a durable config is used:

if (props.durableConfig) {
managedPolicies.push(iam.ManagedPolicy.fromAwsManagedPolicyName('service-role/AWSLambdaBasicDurableExecutionRolePolicy'));
} else {
managedPolicies.push(iam.ManagedPolicy.fromAwsManagedPolicyName('service-role/AWSLambdaBasicExecutionRole'));
}

Description of changes

This change updates in-line docs to reference the additional managed policy

Describe any new or updated permissions being added

None, docs only.

Description of how you validated changes

Ran basic build and yarn test aws-lambda

Test Suites: 38 passed, 38 total
Tests:       829 passed, 829 total
Snapshots:   1 passed, 1 total

Checklist


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

Copy link
Copy Markdown
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)

@github-actions github-actions bot added the p2 label Mar 5, 2026
@github-actions github-actions bot added the beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK label Mar 5, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team March 5, 2026 17:50
@dhegberg dhegberg changed the title docs(lambda): Add durable function policy suggestion. docs(lambda): add durable function policy suggestion. Mar 5, 2026
@dhegberg dhegberg closed this Mar 5, 2026
@dhegberg dhegberg reopened this Mar 5, 2026
@aws-cdk-automation aws-cdk-automation dismissed their stale review March 5, 2026 18:07

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 5, 2026

This issue has been reopened and is now available for discussion.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 5, 2026

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 Mar 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants