Interface: ChatPromptVariantProps
March 19, 2026 ยท View on GitHub
@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / ChatPromptVariantProps
Interface: ChatPromptVariantProps
Extends
Properties
inferenceConfiguration?
readonlyoptionalinferenceConfiguration?:PromptModelInferenceConfigurationProperty
Inference configuration for the Text Prompt
messages
readonlymessages:ChatMessage[]
Inference configuration for the Chat Prompt. Must include at least one User Message. The messages should alternate between User and Assistant.
model
readonlymodel:IInvokable
The model which is used to run the prompt. The model could be a foundation model, a custom model, or a provisioned model.
Inherited from
CommonPromptVariantProps.model
promptVariables?
readonlyoptionalpromptVariables?:string[]
The variables in the prompt template that can be filled in at runtime.
Inherited from
CommonPromptVariantProps.promptVariables
system?
readonlyoptionalsystem?:string
Context or instructions for the model to consider before generating a response.
toolConfiguration?
readonlyoptionaltoolConfiguration?:ToolConfiguration
The configuration with available tools to the model and how it must use them.
variantName
readonlyvariantName:string
The name of the prompt variant.