ConnectionSettingsProperty Struct
Specifies the idle timeout value for your Classic Load Balancer.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancing as elb } from 'aws-cdk-lib';
const connectionSettingsProperty: elb.CfnLoadBalancer.ConnectionSettingsProperty = {
idleTimeout: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticloadbalancing as elb
connection_settings_property = elb.CfnLoadBalancer.ConnectionSettingsProperty(
idle_timeout=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancing.*;
ConnectionSettingsProperty connectionSettingsProperty = ConnectionSettingsProperty.builder()
.idleTimeout(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 connectionSettingsProperty = new ConnectionSettingsProperty {
IdleTimeout = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
connectionSettingsProperty := &ConnectionSettingsProperty{
IdleTimeout: jsii.Number(123),
}
Properties
idleTimeoutnumberidle_timeoutint | floatidleTimeoutNumberIdleTimeoutdoubleIdleTimeout*float64required#The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.