Interface CfnLoadBalancerPropsMixin.LBCookieStickinessPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoadBalancerPropsMixin.LBCookieStickinessPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnLoadBalancerPropsMixin
@Stability(Stable)
public static interface CfnLoadBalancerPropsMixin.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.cfnpropertymixins.services.elasticloadbalancing.*;
LBCookieStickinessPolicyProperty lBCookieStickinessPolicyProperty = LBCookieStickinessPolicyProperty.builder()
.cookieExpirationPeriod("cookieExpirationPeriod")
.policyName("policyName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLoadBalancerPropsMixin.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
@Stability(Stable) static CfnLoadBalancerPropsMixin.LBCookieStickinessPolicyProperty.Builder builder()
-