generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructsDocs


@cdklabs/generative-ai-cdk-constructs / bedrock / IPrompt

Interface: IPrompt

Represents a Prompt, either created with CDK or imported.

Properties

kmsKey?

readonly optional kmsKey: IKey

Optional KMS encryption key associated with this prompt.


promptArn

readonly promptArn: string

The ARN of the prompt.

Example

"arn:aws:bedrock:us-east-1:123456789012:prompt/PROMPT12345"

promptId

readonly promptId: string

The ID of the prompt.

Example

"PROMPT12345"

promptVersion

promptVersion: string

The version of the prompt.

Default

- "DRAFT"