diff --git a/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts b/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts index e4cb6a4748699..a43302c24d119 100644 --- a/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts +++ b/packages/aws-cdk-lib/aws-bedrock/lib/foundation-model.ts @@ -143,22 +143,40 @@ export class FoundationModelIdentifier { **/ public static readonly ANTHROPIC_CLAUDE_V1 = new FoundationModelIdentifier('anthropic.claude-v1'); - /** Base model "anthropic.claude-v2". */ + /** + * Base model "anthropic.claude-v2". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_V2 = new FoundationModelIdentifier('anthropic.claude-v2'); - /** Base model "anthropic.claude-v2:0:18k". */ + /** + * Base model "anthropic.claude-v2:0:18k". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_V2_0_18K = new FoundationModelIdentifier('anthropic.claude-v2:0:18k'); - /** Base model "anthropic.claude-v2:0:100k". */ + /** + * Base model "anthropic.claude-v2:0:100k". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_V2_0_100K = new FoundationModelIdentifier('anthropic.claude-v2:0:100k'); - /** Base model "anthropic.claude-v2:1". */ + /** + * Base model "anthropic.claude-v2:1". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_V2_1 = new FoundationModelIdentifier('anthropic.claude-v2:1'); - /** Base model "anthropic.claude-v2:1:18k". */ + /** + * Base model "anthropic.claude-v2:1:18k". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_V2_1_18K = new FoundationModelIdentifier('anthropic.claude-v2:1:18k'); - /** Base model "anthropic.claude-v2:1:200k". */ + /** + * Base model "anthropic.claude-v2:1:200k". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_V2_1_200K = new FoundationModelIdentifier('anthropic.claude-v2:1:200k'); /** Base model "anthropic.claude-3-sonnet-20240229-v1:0". */ @@ -218,10 +236,16 @@ export class FoundationModelIdentifier { /** Base model "anthropic.claude-3-opus-20240229-v1:0:200k". */ public static readonly ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0_200K = new FoundationModelIdentifier('anthropic.claude-3-opus-20240229-v1:0:200k'); - /** Base model "anthropic.claude-instant-v1". */ + /** + * Base model "anthropic.claude-instant-v1". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_INSTANT_V1 = new FoundationModelIdentifier('anthropic.claude-instant-v1'); - /** Base model "anthropic.claude-instant-v1:2:100k". */ + /** + * Base model "anthropic.claude-instant-v1:2:100k". + * @deprecated use latest version of the model + */ public static readonly ANTHROPIC_CLAUDE_INSTANT_V1_2_100K = new FoundationModelIdentifier('anthropic.claude-instant-v1:2:100k'); /** Base model "cohere.command-text-v14". */