> **Experimental**
>
> `@aws-cdk/aws-bedrock-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# IPromptVariant

Interface representing a prompt variant configuration.

Variants are specific sets of inputs that guide FMs on Amazon Bedrock to
generate an appropriate response or output for a given task or instruction.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`bedrock/prompts/prompt-variant.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-alpha/bedrock/prompts/prompt-variant.ts#L61)

## Properties

- `genAiResource`: [PromptGenAiResource](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.PromptGenAiResource.html) — The generative AI resource configuration.

- `inferenceConfiguration`: [PromptInferenceConfiguration](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.PromptInferenceConfiguration.html) — The inference configuration.

- `modelId`: string — The unique identifier of the model with which to run inference on the prompt.

- `name`: string — The name of the prompt variant.

- `templateConfiguration`: [PromptTemplateConfiguration](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.PromptTemplateConfiguration.html) — The template configuration.

- `templateType`: [PromptTemplateType](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.PromptTemplateType.html) = Text — The type of prompt template.
