interface TimeoutConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnServicePropsMixin.TimeoutConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnServicePropsMixin_TimeoutConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnServicePropsMixin.TimeoutConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnServicePropsMixin.TimeoutConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnServicePropsMixin » TimeoutConfigurationProperty |
An object that represents the timeout configurations for Service Connect.
If
idleTimeoutis set to a time that is less thanperRequestTimeout, the connection will close when theidleTimeoutis reached and not theperRequestTimeout.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const timeoutConfigurationProperty: ecs_mixins.CfnServicePropsMixin.TimeoutConfigurationProperty = {
idleTimeoutSeconds: 123,
perRequestTimeoutSeconds: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| idle | number | The amount of time in seconds a connection will stay active while idle. |
| per | number | The amount of time waiting for the upstream to respond with a complete response per request. |
idleTimeoutSeconds?
Type:
number
(optional)
The amount of time in seconds a connection will stay active while idle.
A value of 0 can be set to disable idleTimeout .
The idleTimeout default for HTTP / HTTP2 / GRPC is 5 minutes.
The idleTimeout default for TCP is 1 hour.
perRequestTimeoutSeconds?
Type:
number
(optional)
The amount of time waiting for the upstream to respond with a complete response per request.
A value of 0 can be set to disable perRequestTimeout . perRequestTimeout can only be set if Service Connect appProtocol isn't TCP . Only idleTimeout is allowed for TCP appProtocol .

.NET
Go
Java
Python
TypeScript