Interface CfnEndpointConfigPropsMixin.PrefixAwareRoutingConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointConfigPropsMixin.PrefixAwareRoutingConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointConfigPropsMixin
@Stability(Stable)
public static interface CfnEndpointConfigPropsMixin.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.cfnpropertymixins.services.sagemaker.*;
PrefixAwareRoutingConfigProperty prefixAwareRoutingConfigProperty = PrefixAwareRoutingConfigProperty.builder()
.concurrencyThreshold(123)
.prefixLength(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEndpointConfigPropsMixin.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
@Stability(Stable) static CfnEndpointConfigPropsMixin.PrefixAwareRoutingConfigProperty.Builder builder()
-