Interface: AgentPromptVariantProps
March 19, 2026 ยท View on GitHub
@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / AgentPromptVariantProps
Interface: AgentPromptVariantProps
Extends
Properties
agentAlias
readonlyagentAlias:IAgentAlias
An alias pointing to the agent version to be used.
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
promptText
readonlypromptText:string
The text prompt. Variables are used by enclosing its name with double curly braces
as in {{variable_name}}.
promptVariables?
readonlyoptionalpromptVariables?:string[]
The variables in the prompt template that can be filled in at runtime.
Inherited from
CommonPromptVariantProps.promptVariables
variantName
readonlyvariantName:string
The name of the prompt variant.