Interface CfnGatewayTarget.InferenceTargetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayTarget.InferenceTargetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayTarget
@Stability(Stable)
public static interface CfnGatewayTarget.InferenceTargetConfigurationProperty
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.*;
InferenceTargetConfigurationProperty inferenceTargetConfigurationProperty = InferenceTargetConfigurationProperty.builder()
.connector(InferenceConnectorTargetConfigurationProperty.builder()
.source(InferenceConnectorSourceProperty.builder()
.connectorId("connectorId")
.build())
.build())
.provider(InferenceProviderTargetConfigurationProperty.builder()
.endpoint("endpoint")
// the properties below are optional
.modelMapping(ModelMappingProperty.builder()
.providerPrefix(ProviderPrefixProperty.builder()
.separator("separator")
.strip(false)
.build())
.build())
.operations(List.of(InferenceOperationConfigurationProperty.builder()
.path("path")
// the properties below are optional
.models(List.of(ModelEntryProperty.builder()
.model("model")
.build()))
.providerPath("providerPath")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayTarget.InferenceTargetConfigurationPropertystatic final classAn implementation forCfnGatewayTarget.InferenceTargetConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnGatewayTarget.InferenceConnectorTargetConfigurationPropertydefault ObjectReturns union: eitherIResolvableorCfnGatewayTarget.InferenceProviderTargetConfigurationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnector
Returns union: eitherIResolvableorCfnGatewayTarget.InferenceConnectorTargetConfigurationProperty- See Also:
-
getProvider
Returns union: eitherIResolvableorCfnGatewayTarget.InferenceProviderTargetConfigurationProperty- See Also:
-
builder
-