Interface CfnEndpoint.TrafficRoutingConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEndpoint.TrafficRoutingConfigProperty.Jsii$Proxy
Enclosing class:
CfnEndpoint

@Stability(Stable) public static interface CfnEndpoint.TrafficRoutingConfigProperty extends software.amazon.jsii.JsiiSerializable
Defines the traffic routing strategy during an endpoint deployment to shift traffic from the old fleet to the new fleet.

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.*;
 TrafficRoutingConfigProperty trafficRoutingConfigProperty = TrafficRoutingConfigProperty.builder()
         .type("type")
         // the properties below are optional
         .canarySize(CapacitySizeProperty.builder()
                 .type("type")
                 .value(123)
                 .build())
         .linearStepSize(CapacitySizeProperty.builder()
                 .type("type")
                 .value(123)
                 .build())
         .waitIntervalInSeconds(123)
         .build();
 

See Also: