@Stability(value=Stable)
public static interface CfnLoadBalancer.ConnectionDrainingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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() |
Object |
getEnabled()
Specifies whether connection draining is enabled for the load balancer.
|
default Number |
getTimeout()
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
|
@Stability(value=Stable) @NotNull Object getEnabled()
@Stability(value=Stable) @Nullable default Number getTimeout()
@Stability(value=Stable) static CfnLoadBalancer.ConnectionDrainingPolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.