Table of Contents

Class CfnLoadBalancer.ConnectionDrainingPolicyProperty

Namespace
Amazon.CDK.AWS.ElasticLoadBalancing
Assembly
Amazon.CDK.AWS.ElasticLoadBalancing.dll

Specifies the connection draining settings for your Classic Load Balancer.

public class CfnLoadBalancer.ConnectionDrainingPolicyProperty : CfnLoadBalancer.IConnectionDrainingPolicyProperty
Inheritance
CfnLoadBalancer.ConnectionDrainingPolicyProperty
Implements
Inherited Members

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

Constructors

ConnectionDrainingPolicyProperty()

public ConnectionDrainingPolicyProperty()

Properties

Enabled

Specifies whether connection draining is enabled for the load balancer.

public object Enabled { get; set; }

Property Value

object

Remarks

Timeout

The maximum time, in seconds, to keep the existing connections open before deregistering the instances.

public double? Timeout { get; set; }

Property Value

double?

Remarks