This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECS::Service TimeoutConfiguration
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}
YAML
IdleTimeoutSeconds:IntegerPerRequestTimeoutSeconds:Integer
Properties
IdleTimeoutSeconds-
The amount of time in seconds a connection will stay active while idle. A value of
0can be set to disableidleTimeout.The
idleTimeoutdefault forHTTP/HTTP2/GRPCis 5 minutes.The
idleTimeoutdefault forTCPis 1 hour.Required: No
Type: Integer
Minimum:
0Maximum:
2147483647Update requires: No interruption
PerRequestTimeoutSeconds-
The amount of time waiting for the upstream to respond with a complete response per request. A value of
0can be set to disableperRequestTimeout.perRequestTimeoutcan only be set if Service ConnectappProtocolisn'tTCP. OnlyidleTimeoutis allowed forTCPappProtocol.Required: No
Type: Integer
Minimum:
0Maximum:
2147483647Update requires: No interruption