Interface CfnLoadBalancer.ConnectionDrainingPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoadBalancer.ConnectionDrainingPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnLoadBalancer
@Stability(Stable)
public static interface CfnLoadBalancer.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.services.elasticloadbalancing.*; ConnectionDrainingPolicyProperty connectionDrainingPolicyProperty = ConnectionDrainingPolicyProperty.builder() .enabled(false) // the properties below are optional .timeout(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLoadBalancer.ConnectionDrainingPolicyProperty
static final class
An implementation forCfnLoadBalancer.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.- See Also:
-
getTimeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.- See Also:
-
builder
-