@Stability(value=Stable)
public static interface CfnListener.TargetGroupStickinessConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.elasticloadbalancingv2.*;
TargetGroupStickinessConfigProperty targetGroupStickinessConfigProperty = TargetGroupStickinessConfigProperty.builder()
.durationSeconds(123)
.enabled(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnListener.TargetGroupStickinessConfigProperty.Builder
A builder for
CfnListener.TargetGroupStickinessConfigProperty |
static class |
CfnListener.TargetGroupStickinessConfigProperty.Jsii$Proxy
An implementation for
CfnListener.TargetGroupStickinessConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnListener.TargetGroupStickinessConfigProperty.Builder |
builder() |
default Number |
getDurationSeconds()
The time period, in seconds, during which requests from a client should be routed to the same target group.
|
default Object |
getEnabled()
Indicates whether target group stickiness is enabled.
|
@Stability(value=Stable) @Nullable default Number getDurationSeconds()
The range is 1-604800 seconds (7 days).
@Stability(value=Stable) @Nullable default Object getEnabled()
@Stability(value=Stable) static CfnListener.TargetGroupStickinessConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.