Interface CfnLoadBalancerPropsMixin.AppCookieStickinessPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoadBalancerPropsMixin.AppCookieStickinessPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnLoadBalancerPropsMixin
@Stability(Stable)
public static interface CfnLoadBalancerPropsMixin.AppCookieStickinessPolicyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a policy for application-controlled 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.*;
AppCookieStickinessPolicyProperty appCookieStickinessPolicyProperty = AppCookieStickinessPolicyProperty.builder()
.cookieName("cookieName")
.policyName("policyName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLoadBalancerPropsMixin.AppCookieStickinessPolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCookieName
The name of the application cookie used for stickiness.- See Also:
-
getPolicyName
The mnemonic name for the policy being created.The name must be unique within a set of policies for this load balancer.
- See Also:
-
builder
@Stability(Stable) static CfnLoadBalancerPropsMixin.AppCookieStickinessPolicyProperty.Builder builder()
-