Interface CfnLoadBalancerPropsMixin.ConnectionDrainingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoadBalancerPropsMixin.ConnectionDrainingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnLoadBalancerPropsMixin
@Stability(Stable)
public static interface CfnLoadBalancerPropsMixin.ConnectionDrainingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the connection draining settings for your Classic Load Balancer.
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.*;
ConnectionDrainingPolicyProperty connectionDrainingPolicyProperty = ConnectionDrainingPolicyProperty.builder()
.enabled(false)
.timeout(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLoadBalancerPropsMixin.ConnectionDrainingPolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Specifies whether connection draining is enabled for the load balancer.Returns union: either
BooleanorIResolvable- See Also:
-
getTimeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.- See Also:
-
builder
@Stability(Stable) static CfnLoadBalancerPropsMixin.ConnectionDrainingPolicyProperty.Builder builder()
-