interface ConnectionDrainingPolicyProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancing.CfnLoadBalancer.ConnectionDrainingPolicyProperty |
Java | software.amazon.awscdk.services.elasticloadbalancing.CfnLoadBalancer.ConnectionDrainingPolicyProperty |
Python | aws_cdk.aws_elasticloadbalancing.CfnLoadBalancer.ConnectionDrainingPolicyProperty |
TypeScript | @aws-cdk/aws-elasticloadbalancing » CfnLoadBalancer » ConnectionDrainingPolicyProperty |
Specifies the connection draining settings for your Classic Load Balancer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as elb from '@aws-cdk/aws-elasticloadbalancing';
const connectionDrainingPolicyProperty: elb.CfnLoadBalancer.ConnectionDrainingPolicyProperty = {
enabled: false,
// the properties below are optional
timeout: 123,
};
Properties
Name | Type | Description |
---|---|---|
enabled | boolean | IResolvable | Specifies whether connection draining is enabled for the load balancer. |
timeout? | number | The maximum time, in seconds, to keep the existing connections open before deregistering the instances. |
enabled
Type:
boolean |
IResolvable
Specifies whether connection draining is enabled for the load balancer.
timeout?
Type:
number
(optional)
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.