Skip to content

fix(bedrockagentcore): defaultchild setup (#38327)#38386

Open
wasim-builds wants to merge 4 commits into
aws:mainfrom
wasim-builds:fix/issue-38327-bedrockagentcore-defaultchild
Open

fix(bedrockagentcore): defaultchild setup (#38327)#38386
wasim-builds wants to merge 4 commits into
aws:mainfrom
wasim-builds:fix/issue-38327-bedrockagentcore-defaultchild

Conversation

@wasim-builds

Copy link
Copy Markdown

Fixes #38327. Sets node.defaultChild explicitly on the remaining L2 constructs and helper constructs in bedrockagentcore so that applyRemovalPolicy() functions correctly.

@wasim-builds
wasim-builds requested a review from a team as a code owner July 23, 2026 08:34
@github-actions github-actions Bot added bug This issue is a bug. p2 labels Jul 23, 2026
@aws-cdk-automation
aws-cdk-automation requested a review from a team July 23, 2026 08:35
@github-actions github-actions Bot added the beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK label Jul 23, 2026

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The pull request linter fails with the following errors:

❌ Fixes must contain a change to an integration test file and the resulting snapshot.

If you believe this pull request should receive an exemption, please comment and provide a justification. A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed, add Clarification Request to a comment.

✅ A exemption request has been requested. Please wait for a maintainer's review.

@wasim-builds wasim-builds changed the title fix/issue 38327 bedrockagentcore defaultchild fix(bedrockagentcore): defaultchild setup (#38327) Jul 23, 2026
@wasim-builds

Copy link
Copy Markdown
Author

Exemption Request: This adds defaultChild to existing L2s so applyRemovalPolicy works. No new AWS resources introduced.

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Jul 23, 2026
@wasim-builds
wasim-builds force-pushed the fix/issue-38327-bedrockagentcore-defaultchild branch from bf72ef5 to 9e3c3a4 Compare July 23, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK bug This issue is a bug. p2 pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agentcore: L2 constructs don't set node.defaultChild, breaking applyRemovalPolicy

2 participants