Skip to content

/AWS1/CL_FNTCONTDEPLOYMENTSI00

Contains the percentage of traffic to send to a staging distribution.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_weight TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.

Optional arguments:

io_sessionstickinessconfig TYPE REF TO /AWS1/CL_FNTSESSSTICKINESSCFG /AWS1/CL_FNTSESSSTICKINESSCFG

Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.


Queryable Attributes

Weight

The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and 0.15. For example, a value of 0.10 means 10% of traffic is sent to the staging distribution.

Accessible with the following methods

Method Description
GET_WEIGHT() Getter for WEIGHT, with configurable default
ASK_WEIGHT() Getter for WEIGHT w/ exceptions if field has no value
STR_WEIGHT() String format for WEIGHT, with configurable default
HAS_WEIGHT() Determine if WEIGHT has a value

SessionStickinessConfig

Session stickiness provides the ability to define multiple requests from a single viewer as a single session. This prevents the potentially inconsistent experience of sending some of a given user's requests to your staging distribution, while others are sent to your primary distribution. Define the session duration using TTL values.

Accessible with the following methods

Method Description
GET_SESSIONSTICKINESSCONFIG() Getter for SESSIONSTICKINESSCONFIG