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.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.518Z")
@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
ConstructorsModifierConstructorDescriptionprotectedprotectedPromptGenAiResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedPromptGenAiResource(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic PromptGenAiResourceagent(AgentGenAiResourceProps props) (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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-