Package software.amazon.awscdk.services.bedrock
package software.amazon.awscdk.services.bedrock
Amazon Bedrock Construct Library
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 for use with other services' CDK constructs, such as AWS Step Functions.
To look up a Bedrock base foundation model:
import software.amazon.awscdk.services.bedrock.*; FoundationModel.fromFoundationModelId(this, "Model", FoundationModelIdentifier.ANTHROPIC_CLAUDE_V2);
To look up a Bedrock provisioned throughput model:
import software.amazon.awscdk.services.bedrock.*; ProvisionedModel.fromProvisionedModelArn(this, "Model", "arn:aws:bedrock:us-east-2:123456789012:provisioned-model/abc-123");
-
ClassDescriptionA Bedrock base foundation model.The model identifiers for the Bedrock base foundation models.Represents a Bedrock model.Internal default implementation for
IModel.A proxy class which represents a concrete javascript instance of this type.A Bedrock provisioned model.