Interface CfnLoadBalancer.LBCookieStickinessPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoadBalancer.LBCookieStickinessPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnLoadBalancer
@Stability(Stable)
public static interface CfnLoadBalancer.LBCookieStickinessPolicyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a policy for duration-based session stickiness for your Classic Load Balancer.
To associate a policy with a listener, use the PolicyNames property for the listener.
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.elasticloadbalancing.*; LBCookieStickinessPolicyProperty lBCookieStickinessPolicyProperty = LBCookieStickinessPolicyProperty.builder() .cookieExpirationPeriod("cookieExpirationPeriod") .policyName("policyName") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLoadBalancer.LBCookieStickinessPolicyProperty
static final class
An implementation forCfnLoadBalancer.LBCookieStickinessPolicyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCookieExpirationPeriod
The time period, in seconds, after which the cookie should be considered stale.If this parameter is not specified, the stickiness session lasts for the duration of the browser session.
- See Also:
-
getPolicyName
The name of the policy.This name must be unique within the set of policies for this load balancer.
- See Also:
-
builder
-