Skip to content

Conversation

@go-to-k
Copy link
Contributor

@go-to-k go-to-k commented Dec 22, 2025

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 code

This provides a simpler alternative to fromS3() by handling the S3 asset creation automatically, similar to how fromAsset() 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

@aws-cdk-automation aws-cdk-automation requested a review from a team December 22, 2025 05:50
@github-actions github-actions bot added p2 distinguished-contributor [Pilot] contributed 50+ PRs to the CDK labels Dec 22, 2025
@go-to-k go-to-k changed the title feat(bedrock-agentcore-alpha): add fromCodeAsset method to create runtime artifact with local code assets feat(bedrock-agentcore-alpha): add fromCodeAsset method to create runtime artifact with local code assets Dec 22, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

⚠️ Experimental Feature: This security report is currently in experimental phase. Results may include false positives and the rules are being actively refined.
Please try merge from main to avoid findings unrelated to the PR.


TestsPassed ✅SkippedFailed
Security Guardian Results50 ran50 passed
TestResult
No test annotations available

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

⚠️ Experimental Feature: This security report is currently in experimental phase. Results may include false positives and the rules are being actively refined.
Please try merge from main to avoid findings unrelated to the PR.


TestsPassed ✅SkippedFailed
Security Guardian Results with resolved templates50 ran50 passed
TestResult
No test annotations available

@github-actions github-actions bot added the feature-request A feature should be added or improved. label Dec 22, 2025
@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 Dec 22, 2025
Copy link
Contributor

@mazyu36 mazyu36 left a 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.

@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 Dec 22, 2025
Co-authored-by: Yuki Matsuda <[email protected]>
@go-to-k
Copy link
Contributor Author

go-to-k commented Dec 22, 2025

@mazyu36 Thanks, fixed!

Copy link
Contributor

@mazyu36 mazyu36 left a comment

Choose a reason for hiding this comment

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

Thanks!

@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

distinguished-contributor [Pilot] contributed 50+ PRs to the CDK feature-request A feature should be added or improved. p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(bedrock-agentcore-alpha): can create runtime artifact with local code assets

3 participants