Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::ECS::Service TimeoutConfiguration

Focus mode
AWS::ECS::Service TimeoutConfiguration - AWS CloudFormation
Filter View

An object that represents the timeout configurations for Service Connect.

Note

If idleTimeout is set to a time that is less than perRequestTimeout, the connection will close when the idleTimeout is reached and not the perRequestTimeout.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "IdleTimeoutSeconds" : Integer, "PerRequestTimeoutSeconds" : Integer }

Properties

IdleTimeoutSeconds

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.

Required: No

Type: Integer

Minimum: 0

Maximum: 2147483647

Update requires: No interruption

PerRequestTimeoutSeconds

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.

Required: No

Type: Integer

Minimum: 0

Maximum: 2147483647

Update requires: No interruption

See also

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.