FoundationModelIdentifier

class aws_cdk.aws_bedrock.FoundationModelIdentifier(model_id)

Bases: object

The model identifiers for the Bedrock base foundation models.

See:

https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html

ExampleMetadata:

infused

Example:

import aws_cdk.aws_bedrock as bedrock


model = bedrock.FoundationModel.from_foundation_model_id(self, "Model", bedrock.FoundationModelIdentifier.AMAZON_TITAN_TEXT_G1_EXPRESS_V1)

task = tasks.BedrockInvokeModel(self, "Prompt Model",
    model=model,
    input=tasks.BedrockInvokeModelInputProps(s3_input_uri=sfn.JsonPath.string_at("$.prompt")),
    output=tasks.BedrockInvokeModelOutputProps(s3_output_uri=sfn.JsonPath.string_at("$.prompt"))
)

Constructor for foundation model identifier.

Parameters:

model_id (str) – the model identifier.

Attributes

AI21_J2_GRANDE_INSTRUCT = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_J2_JAMBA_INSTRUCT_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_J2_JUMBO_INSTRUCT = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_J2_MID = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_J2_ULTRA = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_JAMBA_1_5_LARGE_V_1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_JAMBA_1_5_MINI_V_1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_LABS_JURASSIC_2_MID_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_LABS_JURASSIC_2_ULTRA_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AI21_LABS_JURASSIC_2_ULTRA_V1_0_8_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_EMBEDDINGS_G1_TEXT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_EMBED_G1_TEXT_02 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_EMBED_IMAGE_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_EMBED_TEXT_V1_2_8_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_EMBED_TEXT_V2_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_EMBED_TEXT_V2_0_8_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_IMAGE_GENERATOR_G1_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_IMAGE_GENERATOR_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_IMAGE_GENERATOR_V2_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_MULTIMODAL_EMBEDDINGS_G1_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_TEXT_EXPRESS_V1_0_8_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_TEXT_G1_EXPRESS_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_TEXT_G1_LITE_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_TEXT_LITE_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_TEXT_LITE_V1_0_4_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_TEXT_PREMIER_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
AMAZON_TITAN_TG1_LARGE = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_5_HAIKU_20241022_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_5_SONNET_20240620_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_5_SONNET_20241022_V2_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_200_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_HAIKU_20240307_V1_0_48_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_OPUS_20240229_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_200_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_3_SONNET_20240229_V1_0_28_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_INSTANT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_INSTANT_V1_2_100_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_V2 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_V2_0_100_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_V2_0_18_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_V2_1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_V2_1_18_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
ANTHROPIC_CLAUDE_V2_1_200_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_COMMAND_LIGHT_TEXT_V14_7_4_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_COMMAND_LIGHT_V14 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_COMMAND_R_PLUS_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_COMMAND_R_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_COMMAND_TEXT_V14_7_4_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_COMMAND_V14 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_EMBED_ENGLISH_V3 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_EMBED_ENGLISH_V3_0_512 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_EMBED_MULTILINGUAL_V3 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
COHERE_EMBED_MULTILINGUAL_V3_0_512 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_13_B_CHAT_V1_0_4_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_13_B_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_13_B_V1_0_4_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_70_B_CHAT_V1_0_4_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_70_B_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_70_B_V1_0_4_K = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_CHAT_13_B_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_2_CHAT_70_B_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_1_405_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_1_70_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_1_8_B_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_2_11_B_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_2_1_B_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_2_3_B_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_2_90_B_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_70_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
META_LLAMA_3_8_B_INSTRUCT_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
MISTRAL_LARGE_2_V0_1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
MISTRAL_LARGE_V0_1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
MISTRAL_MISTRAL_7_B_INSTRUCT_V0_2 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
MISTRAL_MIXTRAL_8_X7_B_INSTRUCT_V0_1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
MISTRAL_SMALL_V0_1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
STABILITY_SD3_LARGE_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
STABILITY_STABLE_DIFFUSION_XL = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
STABILITY_STABLE_DIFFUSION_XL_V0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
STABILITY_STABLE_DIFFUSION_XL_V1 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
STABILITY_STABLE_DIFFUSION_XL_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
STABILITY_STABLE_IMAGE_CORE_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
STABILITY_STABLE_IMAGE_ULTRA_V1_0 = <aws_cdk.aws_bedrock.FoundationModelIdentifier object>
model_id

the model identifier.