Show / Hide Table of Contents

Class CfnService.TimeoutConfigurationProperty

An object that represents the timeout configurations for Service Connect.

Inheritance
object
CfnService.TimeoutConfigurationProperty
Implements
CfnService.ITimeoutConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnService.TimeoutConfigurationProperty : CfnService.ITimeoutConfigurationProperty
Syntax (vb)
Public Class CfnService.TimeoutConfigurationProperty Implements CfnService.ITimeoutConfigurationProperty
Remarks
If <code>idleTimeout</code> is set to a time that is less than <code>perRequestTimeout</code> , the connection will close when the <code>idleTimeout</code> is reached and not the <code>perRequestTimeout</code> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-timeoutconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ECS;

             var timeoutConfigurationProperty = new TimeoutConfigurationProperty {
                 IdleTimeoutSeconds = 123,
                 PerRequestTimeoutSeconds = 123
             };

Synopsis

Constructors

TimeoutConfigurationProperty()

An object that represents the timeout configurations for Service Connect.

Properties

IdleTimeoutSeconds

The amount of time in seconds a connection will stay active while idle.

PerRequestTimeoutSeconds

The amount of time waiting for the upstream to respond with a complete response per request.

Constructors

TimeoutConfigurationProperty()

An object that represents the timeout configurations for Service Connect.

public TimeoutConfigurationProperty()
Remarks
If <code>idleTimeout</code> is set to a time that is less than <code>perRequestTimeout</code> , the connection will close when the <code>idleTimeout</code> is reached and not the <code>perRequestTimeout</code> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-timeoutconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ECS;

             var timeoutConfigurationProperty = new TimeoutConfigurationProperty {
                 IdleTimeoutSeconds = 123,
                 PerRequestTimeoutSeconds = 123
             };

Properties

IdleTimeoutSeconds

The amount of time in seconds a connection will stay active while idle.

public double? IdleTimeoutSeconds { get; set; }
Property Value

double?

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-timeoutconfiguration.html#cfn-ecs-service-timeoutconfiguration-idletimeoutseconds

PerRequestTimeoutSeconds

The amount of time waiting for the upstream to respond with a complete response per request.

public double? PerRequestTimeoutSeconds { get; set; }
Property Value

double?

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-timeoutconfiguration.html#cfn-ecs-service-timeoutconfiguration-perrequesttimeoutseconds

Implements

CfnService.ITimeoutConfigurationProperty
Back to top Generated by DocFX