Class CfnPromptVersionPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptVersionPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.647Z")
@Stability(Stable)
public class CfnPromptVersionPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a static snapshot of your prompt that can be deployed to production.
For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnPromptVersionPropsMixin cfnPromptVersionPropsMixin = CfnPromptVersionPropsMixin.Builder.create(CfnPromptVersionMixinProps.builder()
.description("description")
.promptArn("promptArn")
.tags(Map.of(
"tagsKey", "tags"))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnPromptVersionPropsMixin.static interfaceDefines a section of content to be cached for reuse in subsequent API calls.static interfaceContains configurations to use a prompt in a conversational format.static interfaceA block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.static interfaceA message input, or returned from, a call to Converse or ConverseStream .static interfaceContains specifications for an Amazon Bedrock agent with which to use the prompt.static interfaceContains specifications for a generative AI resource with which to use the prompt.static interfaceContains inference configurations for the prompt.static interfaceContains information about a variable in the prompt.static interfaceContains a key-value pair that defines a metadata tag and value to attach to a prompt variant.static interfaceContains inference configurations related to model inference for a prompt.static interfaceContains the message for a prompt.static interfaceContains details about a variant of the prompt.static interfaceThe model must request a specific tool.static interfaceContains configurations for instructions to provide the model for how to handle input.static interfaceContains configurations for a text prompt template.static interfaceDetermines which tools the model should request in a call toConverseorConverseStream.static interfaceConfiguration information for the tools that you pass to a model.static interfaceThe schema for the tool.static interfaceInformation about a tool that you can use with the Converse API.static interfaceThe specification for the tool.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Bedrock::PromptVersion.Create a mixin to apply properties toAWS::Bedrock::PromptVersion.protectedCfnPromptVersionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPromptVersionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnPromptVersionMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.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
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnPromptVersionPropsMixin
protected CfnPromptVersionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPromptVersionPropsMixin
protected CfnPromptVersionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPromptVersionPropsMixin
@Stability(Stable) public CfnPromptVersionPropsMixin(@NotNull CfnPromptVersionMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Bedrock::PromptVersion.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnPromptVersionPropsMixin
Create a mixin to apply properties toAWS::Bedrock::PromptVersion.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-