Skip to content

Conversation

@dineshSajwan
Copy link
Contributor

@dineshSajwan dineshSajwan commented Oct 17, 2025

Issue # (if applicable)

Related to aws/aws-cdk-rfcs#785

Reason for this change

Adding bedrock agent core gateway and gateway target

Description of changes

  • Added a new L2 construct for agentcore gateway
  • Added a new L2 construct for agentcore gateway target
  • Added validation helper methods, convenience method like addLambdaTarget, addOpenApiTarget, and other static methods.
  • Added integ and unit test cases

Describe any new or updated permissions being added

The gateway creates a role with permission to bedrock agentcore , s3

Description of how you validated changes

Unit tests, integration tests, manual tests

Checklist


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

dinsajwa and others added 30 commits September 29, 2025 11:57
@mergify mergify bot dismissed alvazjor’s stale review November 18, 2025 22:05

Pull request has been modified.

@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 Nov 18, 2025
@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Nov 19, 2025
@mergify mergify bot dismissed alvazjor’s stale review November 19, 2025 15:35

Pull request has been modified.

@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 Nov 19, 2025
* Used by the Gateway to manage its own resources and invoke targets
*/
export const SERVICE_ROLE_PERMS = [
'bedrock-agentcore:*Gateway*',
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to be a bit more defensive on the permissions, can you actually add all the actions instead of using the * notation? I would like to prevent the possibility of a new unrelated action being introduced later, and we granting the permissions just because shares the name. I'd rather make it explicit.
This applies for all the actions in this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ack.

@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Nov 19, 2025
@mergify mergify bot dismissed alvazjor’s stale review November 19, 2025 21:31

Pull request has been modified.

@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 Nov 19, 2025
@mergify
Copy link
Contributor

mergify bot commented Nov 20, 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).

@alvazjor alvazjor removed the pr/needs-further-review PR requires additional review from our team specialists due to the scope or complexity of changes. label Nov 20, 2025
@alvazjor alvazjor added the pr/request-cli-integ-tests Request CLI integ tests to be run. You will need to review the code and approve the deployment. label Nov 20, 2025
@aws-cdk-automation
Copy link
Collaborator

➡️ PR build request submitted to test-main-pipeline ⬅️

A maintainer must now check the pipeline and add the pr-linter/cli-integ-tested label once the pipeline succeeds.

@mergify
Copy link
Contributor

mergify bot commented Nov 20, 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 07c4a0d into aws:main Nov 20, 2025
26 of 27 checks passed
@github-actions
Copy link
Contributor

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 Nov 20, 2025
@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Nov 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

p2 pr/request-cli-integ-tests Request CLI integ tests to be run. You will need to review the code and approve the deployment. repeat-contributor [Pilot] contributed between 3-5 PRs to the CDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants