Interface CfnHarness.HarnessModelConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarness.HarnessModelConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnHarness
@Stability(Stable)
public static interface CfnHarness.HarnessModelConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.bedrockagentcore.*;
HarnessModelConfigurationProperty harnessModelConfigurationProperty = HarnessModelConfigurationProperty.builder()
.bedrockModelConfig(HarnessBedrockModelConfigProperty.builder()
.modelId("modelId")
// the properties below are optional
.maxTokens(123)
.temperature(123)
.topP(123)
.build())
.geminiModelConfig(HarnessGeminiModelConfigProperty.builder()
.apiKeyArn("apiKeyArn")
.modelId("modelId")
// the properties below are optional
.maxTokens(123)
.temperature(123)
.topK(123)
.topP(123)
.build())
.openAiModelConfig(HarnessOpenAiModelConfigProperty.builder()
.apiKeyArn("apiKeyArn")
.modelId("modelId")
// the properties below are optional
.maxTokens(123)
.temperature(123)
.topP(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHarness.HarnessModelConfigurationPropertystatic final classAn implementation forCfnHarness.HarnessModelConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnHarness.HarnessBedrockModelConfigPropertydefault ObjectReturns union: eitherIResolvableorCfnHarness.HarnessGeminiModelConfigPropertydefault ObjectReturns union: eitherIResolvableorCfnHarness.HarnessOpenAiModelConfigPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBedrockModelConfig
Returns union: eitherIResolvableorCfnHarness.HarnessBedrockModelConfigProperty- See Also:
-
getGeminiModelConfig
Returns union: eitherIResolvableorCfnHarness.HarnessGeminiModelConfigProperty- See Also:
-
getOpenAiModelConfig
Returns union: eitherIResolvableorCfnHarness.HarnessOpenAiModelConfigProperty- See Also:
-
builder
-