Interface CfnLoadBalancer.IConnectionDrainingPolicyProperty
- Namespace
- Amazon.CDK.AWS.ElasticLoadBalancing
- Assembly
- Amazon.CDK.AWS.ElasticLoadBalancing.dll
Specifies the connection draining settings for your Classic Load Balancer.
public interface CfnLoadBalancer.IConnectionDrainingPolicyProperty
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
};
Remarks
ExampleMetadata: fixture=_generated
Properties
Enabled
Specifies whether connection draining is enabled for the load balancer.
object Enabled { get; }
Property Value
Remarks
Timeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
double? Timeout { get; }