AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Bedrock::PromptVersion

CfnPromptVersion

Creates a static snapshot of your prompt that can be deployed to production. For more information, see [Deploy prompts using Prompt management by creating versions](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-deploy.html) in the Amazon Bedrock User Guide.

Import

import { CfnPromptVersion } from 'aws-cdk-lib/aws-bedrock';

Or use the module namespace:

import * as bedrock from 'aws-cdk-lib/aws-bedrock';
// bedrock.CfnPromptVersion

Properties

Configuration passed to the constructor as CfnPromptVersionProps.

promptArnRequired
string

The Amazon Resource Name (ARN) of the version of the prompt.

descriptionOptional
string

The description of the prompt version.

tagsOptional
{ [key: string]: string }

A map of tags attached to the prompt version and their values.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter