AWS Fundamentals Logo
AWS Fundamentals
AWS::Bedrock::PromptVersion

Bedrock PromptVersion

Definition of AWS::Bedrock::PromptVersion Resource Type

Properties

3 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
PromptArn
string
RequiredCreate-only
Description
string
Create-only
Tags
TagsMap
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringARN of a prompt version resource
CreatedAtstringTime Stamp.
CustomerEncryptionKeyArnstringA KMS key ARN
DefaultVariantstringName for a variant.
NamestringName for a prompt resource.
PromptIdstringIdentifier for a Prompt
UpdatedAtstringTime Stamp.
VariantsArray<PromptVariant>List of prompt variants
VersionstringVersion.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Bedrock::PromptVersion

Resources:
  MyResource:
    Type: AWS::Bedrock::PromptVersion
    Properties:
      PromptArn: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

bedrock:CreatePromptVersionbedrock:GetPromptbedrock:TagResourcebedrock:ListTagsForResourcekms:GenerateDataKeykms:Decrypt

read

bedrock:GetPromptbedrock:ListTagsForResourcekms:Decrypt

delete

bedrock:DeletePromptbedrock:GetPrompt

list

bedrock:ListPrompts

Learn AWS the Practical Way

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

Subscribe to Newsletter

Quick Facts

ServiceBedrock
Properties12
Required1
TaggingSupported
Primary IDArn

Supported Operations

CreateReadDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

PromptArnDescriptionTags

External Links