Skip to content

/AWS1/CL_SGMTRAFROUTINGCONFIG

Defines the traffic routing strategy during an endpoint deployment to shift traffic from the old fleet to the new fleet.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/SGMTRAFROUTINGCONFIGTYPE /AWS1/SGMTRAFROUTINGCONFIGTYPE

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

iv_waitintervalinseconds TYPE /AWS1/SGMWAITINTERVALINSECONDS /AWS1/SGMWAITINTERVALINSECONDS

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

Optional arguments:

io_canarysize TYPE REF TO /AWS1/CL_SGMCAPACITYSIZE /AWS1/CL_SGMCAPACITYSIZE

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

io_linearstepsize TYPE REF TO /AWS1/CL_SGMCAPACITYSIZE /AWS1/CL_SGMCAPACITYSIZE

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.


Queryable Attributes

Type

Traffic routing strategy type.

  • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

  • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

  • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

WaitIntervalInSeconds

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

Accessible with the following methods

Method Description
GET_WAITINTERVALINSECONDS() Getter for WAITINTERVALINSECONDS, with configurable default
ASK_WAITINTERVALINSECONDS() Getter for WAITINTERVALINSECONDS w/ exceptions if field has
HAS_WAITINTERVALINSECONDS() Determine if WAITINTERVALINSECONDS has a value

CanarySize

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

Accessible with the following methods

Method Description
GET_CANARYSIZE() Getter for CANARYSIZE

LinearStepSize

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

Accessible with the following methods

Method Description
GET_LINEARSTEPSIZE() Getter for LINEARSTEPSIZE