Interface IPrompt.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IPrompt, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IPrompt.Jsii$Proxy
Enclosing interface:
IPrompt

@Internal public static interface IPrompt.Jsii$Default extends IPrompt, IResource.Jsii$Default
Internal default implementation for IPrompt.
  • Method Details

    • getPromptArn

      @Stability(Experimental) @NotNull default String getPromptArn()
      (experimental) The ARN of the prompt.

      Example:

       "arn:aws:bedrock:us-east-1:123456789012:prompt/PROMPT12345";
       
      Specified by:
      getPromptArn in interface IPrompt
    • getPromptId

      @Stability(Experimental) @NotNull default String getPromptId()
      (experimental) The ID of the prompt.

      Example:

       "PROMPT12345";
       
      Specified by:
      getPromptId in interface IPrompt
    • getPromptVersion

      @Stability(Experimental) @NotNull default String getPromptVersion()
      (experimental) The version of the prompt.

      Default: "DRAFT"

      Specified by:
      getPromptVersion in interface IPrompt
    • getKmsKey

      @Stability(Experimental) @Nullable default IKey getKmsKey()
      (experimental) Optional KMS encryption key associated with this prompt.
      Specified by:
      getKmsKey in interface IPrompt
    • grantGet

      @Stability(Experimental) @NotNull default Grant grantGet(@NotNull IGrantable grantee)
      (experimental) Grant the given identity permissions to get the prompt.

      Specified by:
      grantGet in interface IPrompt
      Parameters:
      grantee - This parameter is required.