interface RoutingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnEndpointConfig.RoutingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnEndpointConfig_RoutingConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.RoutingConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnEndpointConfig.RoutingConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnEndpointConfig » RoutingConfigProperty |
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const routingConfigProperty: sagemaker.CfnEndpointConfig.RoutingConfigProperty = {
prefixAwareRoutingConfig: {
concurrencyThreshold: 123,
prefixLength: 123,
},
routingStrategy: 'routingStrategy',
};
Properties
| Name | Type | Description |
|---|---|---|
| prefix | IResolvable | Prefix | The configuration for prefix-aware routing on a SageMaker real-time inference endpoint. |
| routing | string | Sets how the endpoint routes incoming traffic. |
prefixAwareRoutingConfig?
Type:
IResolvable | Prefix
(optional)
The configuration for prefix-aware routing on a SageMaker real-time inference endpoint.
Specify PrefixLength and ConcurrencyThreshold to control routing behavior.
routingStrategy?
Type:
string
(optional)
Sets how the endpoint routes incoming traffic.

.NET
Go
Java
Python
TypeScript