Class CfnLoadBalancer.ConnectionDrainingPolicyProperty
Specifies the connection draining settings for your Classic Load Balancer.
Inheritance
System.Object
CfnLoadBalancer.ConnectionDrainingPolicyProperty
Namespace: Amazon.CDK.AWS.ElasticLoadBalancing
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConnectionDrainingPolicyProperty : Object, CfnLoadBalancer.IConnectionDrainingPolicyProperty
Syntax (vb)
Public Class ConnectionDrainingPolicyProperty
Inherits Object
Implements CfnLoadBalancer.IConnectionDrainingPolicyProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancing;
var connectionDrainingPolicyProperty = new ConnectionDrainingPolicyProperty {
Enabled = false,
// the properties below are optional
Timeout = 123
};
Synopsis
Constructors
ConnectionDrainingPolicyProperty() |
Properties
Enabled | Specifies whether connection draining is enabled for the load balancer. |
Timeout | The maximum time, in seconds, to keep the existing connections open before deregistering the instances. |
Constructors
ConnectionDrainingPolicyProperty()
public ConnectionDrainingPolicyProperty()
Properties
Enabled
Specifies whether connection draining is enabled for the load balancer.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
Timeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
public Nullable<double> Timeout { get; set; }
Property Value
System.Nullable<System.Double>