@Stability(value=Stable)
public static interface CfnRoute.HttpTimeoutProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; HttpTimeoutProperty httpTimeoutProperty = HttpTimeoutProperty.builder() .idle(DurationProperty.builder() .unit("unit") .value(123) .build()) .perRequest(DurationProperty.builder() .unit("unit") .value(123) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnRoute.HttpTimeoutProperty.Builder
A builder for
CfnRoute.HttpTimeoutProperty |
static class |
CfnRoute.HttpTimeoutProperty.Jsii$Proxy
An implementation for
CfnRoute.HttpTimeoutProperty |
Modifier and Type | Method and Description |
---|---|
static CfnRoute.HttpTimeoutProperty.Builder |
builder() |
default Object |
getIdle()
An object that represents an idle timeout.
|
default Object |
getPerRequest()
An object that represents a per request timeout.
|
@Stability(value=Stable) @Nullable default Object getIdle()
An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
@Stability(value=Stable) @Nullable default Object getPerRequest()
The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.
@Stability(value=Stable) static CfnRoute.HttpTimeoutProperty.Builder builder()
Copyright © 2023. All rights reserved.