Interface CfnLoadBalancer.IConnectionDrainingPolicyProperty
Specifies the connection draining settings for your Classic Load Balancer.
Namespace: Amazon.CDK.AWS.ElasticLoadBalancing
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IConnectionDrainingPolicyProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Enabled
Specifies whether connection draining is enabled for the load balancer.
object Enabled { get; }
Property Value
System.Object
Remarks
Timeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
virtual Nullable<double> Timeout { get; }
Property Value
System.Nullable<System.Double>