Skip to content

TargetGroupStickinessConfig

Source code in docs_src/capo_elastic_load_balancing_v2/types/target_group_stickiness_config.py
class TargetGroupStickinessConfig(TypedDict, closed=True):
    enabled: NotRequired[
        "capo_elastic_load_balancing_v2.types.target_group_stickiness_enabled.TargetGroupStickinessEnabled"
    ]
    """<p>Indicates whether target group stickiness is enabled.</p>"""
    duration_seconds: NotRequired[
        "capo_elastic_load_balancing_v2.types.target_group_stickiness_duration_seconds.TargetGroupStickinessDurationSeconds"
    ]
    """<p>[Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.</p>"""

duration_seconds instance-attribute

duration_seconds: NotRequired[TargetGroupStickinessDurationSeconds]

[Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.

enabled instance-attribute

enabled: NotRequired[TargetGroupStickinessEnabled]

Indicates whether target group stickiness is enabled.