From 6c6264d87743fd3e95c93d614d0a08260e7a7a63 Mon Sep 17 00:00:00 2001 From: Clare Liguori Date: Fri, 26 Apr 2024 14:37:02 -0700 Subject: [PATCH] chore(bedrock): Correct README now that L1 constructs are available --- packages/aws-cdk-lib/aws-bedrock/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-bedrock/README.md b/packages/aws-cdk-lib/aws-bedrock/README.md index cc353def5f1eb..bfed56b3cf7d7 100644 --- a/packages/aws-cdk-lib/aws-bedrock/README.md +++ b/packages/aws-cdk-lib/aws-bedrock/README.md @@ -3,8 +3,7 @@ Amazon Bedrock is a fully managed service that offers a choice of foundation models (FMs) along with a broad set of capabilities for building generative AI applications. -CloudFormation does not currently support any Bedrock resource types. -This construct library is a collection of constructs that can look up existing Bedrock models +This construct library provides a collection of constructs that can look up existing Bedrock models for use with other services' CDK constructs, such as AWS Step Functions. To look up a Bedrock base foundation model: @@ -30,3 +29,8 @@ bedrock.ProvisionedModel.fromProvisionedModelArn( 'arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123', ); ``` + +There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for provisioning Bedrock resources yet. Here are some suggestions on how to proceed: + +- Search [Construct Hub for Bedrock construct libraries](https://constructs.dev/search?q=bedrock) +- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Bedrock resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Bedrock.html) directly.