Skip to content
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

bedrock: add L1 constructs #29858

Closed
2 tasks
jlosito opened this issue Apr 16, 2024 · 7 comments
Closed
2 tasks

bedrock: add L1 constructs #29858

jlosito opened this issue Apr 16, 2024 · 7 comments
Assignees
Labels
@aws-cdk/aws-cloudformation Related to AWS CloudFormation @aws-cdk/bedrock Related to @aws-cdk/bedrock @aws-cdk/core Related to core CDK functionality effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1

Comments

@jlosito
Copy link

jlosito commented Apr 16, 2024

Describe the feature

I'd like to be able to programmatically provision and configure resources within Bedrock such as agents, knowledge bases, etc. Right now the only way to do something like this is by using the generative-ai-cdk-constructs, but all of the constructs within that library are essentially custom resources. Maybe that library was made before CloudFormation support, but it seems to me like CloudFormation supports these resources now.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebase.html

Use Case

I would like to provision and configure various Bedrock resources such as KnowledgeBase and Agents programmatically.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.137.0

Environment details (OS name and version, etc.)

macOS 14.4.1

@jlosito jlosito added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Apr 16, 2024
@github-actions github-actions bot added the @aws-cdk/aws-cloudformation Related to AWS CloudFormation label Apr 16, 2024
@khushail khushail added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Apr 16, 2024
@pahud pahud added the @aws-cdk/bedrock Related to @aws-cdk/bedrock label Apr 16, 2024
@pahud pahud self-assigned this Apr 16, 2024
@pahud
Copy link
Contributor

pahud commented Apr 16, 2024

Hi @jlosito

Thank you for bringing this up. generative-ai-cdk-constructs is not maintained by CDK team. I will discuss the official L2 support with the team and update here.

Please note, I've seen some bedrock L1 resources supported in CFN spec v169.0.0 and it should be imported by awscdk-service-spec very soon and available in recent CDK releases. I will update here when it's available as L1.

@pahud pahud added p1 and removed p2 labels Apr 16, 2024
@pahud
Copy link
Contributor

pahud commented Apr 16, 2024

The latest servicespec release(v0.0.63) was released 5 days ago, the JSON imported here is now having multiple bedrock resources.

CDK imports servicespec using spec2cdk and based on the package.json, current latest CDK release is still using 0.0.61 and the main branch is using 0.0.63 now. So I am confident the next release of CDK v2.138.0 should include the bedrock L1s. I hope this clarifies.

@ymhiroki
Copy link
Contributor

ymhiroki commented Apr 19, 2024

@pahud

Hi, CDK v2.138.0 is released, however, L1 Constructs for Amazon Bedrock is not available yet.
I think this is because generated CloudFormation Resources are not exported in the aws-bedrock module.

I made a pull request #29900 to fix the issue. Would you like to check it?
In addition, AWS CodeBuild CI Report posted that the test is succeeded, but the workflow check is not completed. Do you have any ideas to update the status?

@aws-cdk-automation aws-cdk-automation added the in-progress This issue is being actively worked on. label Apr 19, 2024
@pahud
Copy link
Contributor

pahud commented Apr 22, 2024

We have fixed that in #29911 and it should be available in the next release.

@TheRealAmazonKendra TheRealAmazonKendra added @aws-cdk/core Related to core CDK functionality and removed in-progress This issue is being actively worked on. labels Apr 25, 2024
@TheRealAmazonKendra
Copy link
Contributor

These have now been released

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@aws-cdk-automation
Copy link
Collaborator

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.

@aws aws locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
@aws-cdk/aws-cloudformation Related to AWS CloudFormation @aws-cdk/bedrock Related to @aws-cdk/bedrock @aws-cdk/core Related to core CDK functionality effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants