Interface CfnEndpointConfig.PrefixAwareRoutingConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfig.PrefixAwareRoutingConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfig
@Stability(Stable)
public static interface CfnEndpointConfig.PrefixAwareRoutingConfigProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for prefix-aware routing on a SageMaker real-time inference endpoint.
Specify PrefixLength and ConcurrencyThreshold to control routing behavior.
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.sagemaker.*;
PrefixAwareRoutingConfigProperty prefixAwareRoutingConfigProperty = PrefixAwareRoutingConfigProperty.builder()
.concurrencyThreshold(123)
.prefixLength(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointConfig.PrefixAwareRoutingConfigPropertystatic final classAn implementation forCfnEndpointConfig.PrefixAwareRoutingConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConcurrencyThreshold
The maximum number of in-flight requests on the target instance before the endpoint routes to another instance.Required when RoutingStrategy is PREFIX_AWARE. Valid values are 1 to 1024.
- See Also:
-
getPrefixLength
The maximum length of the prefix used for routing decisions.Required when RoutingStrategy is PREFIX_AWARE. Valid values are 1024 to 65536.
- See Also:
-
builder
-