public static interface CfnLoadBalancer.ConnectionDrainingPolicyProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLoadBalancer.ConnectionDrainingPolicyProperty.Builder
A builder for
CfnLoadBalancer.ConnectionDrainingPolicyProperty |
static class |
CfnLoadBalancer.ConnectionDrainingPolicyProperty.Jsii$Proxy
An implementation for
CfnLoadBalancer.ConnectionDrainingPolicyProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLoadBalancer.ConnectionDrainingPolicyProperty.Builder |
builder() |
java.lang.Object |
getEnabled()
Specifies whether connection draining is enabled for the load balancer.
|
default java.lang.Number |
getTimeout()
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
|
java.lang.Object getEnabled()
default java.lang.Number getTimeout()
static CfnLoadBalancer.ConnectionDrainingPolicyProperty.Builder builder()