-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(bedrock-agentcore-alpha): add fromCodeAsset method to create runtime artifact with local code assets
#36472
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
base: main
Are you sure you want to change the base?
Conversation
…time artifact with local code assets
fromCodeAsset method to create runtime artifact with local code assets
|
|
||||||||||||||
|
|
||||||||||||||
mazyu36
left a comment
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.
Thank you for the contribution. I've added a nit comment.
packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/runtime/runtime-artifact.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Yuki Matsuda <[email protected]>
|
@mazyu36 Thanks, fixed! |
mazyu36
left a comment
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.
Thanks!
Issue # (if applicable)
Closes #36473.
Reason for this change
Add support for deploying agent runtime code directly from local assets, automatically packaged and uploaded to a CDK-managed S3 bucket. This simplifies the developer experience compared to manually managing S3 buckets and uploads.
Description of changes
Added
AgentRuntimeArtifact.fromCodeAsset()static method to create runtime artifacts from local codeThis provides a simpler alternative to
fromS3()by handling the S3 asset creation automatically, similar to howfromAsset()works for container images.Describe any new or updated permissions being added
Description of how you validated changes
Both unit tests and an integ test.
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license