-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(agentcore): agentcore gateway L2 construct #35771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ws-cdk into agentcore-runtime
Pull request has been modified.
packages/@aws-cdk/aws-bedrock-agentcore-alpha/agentcore/gateway/outbound-auth/iam-role.ts
Show resolved
Hide resolved
packages/@aws-cdk/aws-bedrock-agentcore-alpha/agentcore/gateway/outbound-auth/iam-role.ts
Show resolved
Hide resolved
packages/@aws-cdk/aws-bedrock-agentcore-alpha/agentcore/gateway/gateway.ts
Show resolved
Hide resolved
Pull request has been modified.
packages/@aws-cdk/aws-bedrock-agentcore-alpha/agentcore/gateway/validation-helpers.ts
Show resolved
Hide resolved
| * Used by the Gateway to manage its own resources and invoke targets | ||
| */ | ||
| export const SERVICE_ROLE_PERMS = [ | ||
| 'bedrock-agentcore:*Gateway*', |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack.
Pull request has been modified.
|
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). |
|
➡️ PR build request submitted to A maintainer must now check the pipeline and add the |
|
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). |
|
Comments on closed issues and PRs are hard for our team to see. |
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
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