Class PromptGenAiResource

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.alpha.PromptGenAiResource
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-24T11:33:25.555Z") @Stability(Experimental) public abstract class PromptGenAiResource extends software.amazon.jsii.JsiiObject
(experimental) Abstract base class for prompt GenAI resource configurations.

This provides a high-level abstraction over the underlying CloudFormation GenAI resource properties, offering a more developer-friendly interface while maintaining full compatibility with the underlying AWS Bedrock service.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrock.alpha.*;
 AgentAlias agentAlias;
 PromptGenAiResource promptGenAiResource = PromptGenAiResource.agent(AgentGenAiResourceProps.builder()
         .agentAlias(agentAlias)
         .build());
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    PromptGenAiResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    PromptGenAiResource(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Creates an agent GenAI resource configuration.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • PromptGenAiResource

      protected PromptGenAiResource(software.amazon.jsii.JsiiObjectRef objRef)
    • PromptGenAiResource

      protected PromptGenAiResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • PromptGenAiResource

      @Stability(Experimental) protected PromptGenAiResource()
  • Method Details

    • agent

      @Stability(Experimental) @NotNull public static PromptGenAiResource agent(@NotNull AgentGenAiResourceProps props)
      (experimental) Creates an agent GenAI resource configuration.

      Parameters:
      props - This parameter is required.