Interface IPrompt
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IPrompt.Jsii$Default
- All Known Implementing Classes:
IPrompt.Jsii$Proxy
,Prompt
,PromptBase
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-24T11:33:25.546Z")
@Stability(Experimental)
public interface IPrompt
extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) Represents a Prompt, either created with CDK or imported.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIPrompt
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptiondefault IKey
(experimental) Optional KMS encryption key associated with this prompt.(experimental) The ARN of the prompt.(experimental) The ID of the prompt.(experimental) The version of the prompt.grantGet
(IGrantable grantee) (experimental) Grant the given identity permissions to get the prompt.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPromptArn
(experimental) The ARN of the prompt.Example:
"arn:aws:bedrock:us-east-1:123456789012:prompt/PROMPT12345";
-
getPromptId
(experimental) The ID of the prompt.Example:
"PROMPT12345";
-
getPromptVersion
(experimental) The version of the prompt.Default: "DRAFT"
-
getKmsKey
(experimental) Optional KMS encryption key associated with this prompt. -
grantGet
(experimental) Grant the given identity permissions to get the prompt.- Parameters:
grantee
- This parameter is required.
-