aws-cdk-lib.aws_appmesh.CfnRoute.GrpcTimeoutProperty

interface GrpcTimeoutProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnRoute.GrpcTimeoutProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnRoute_GrpcTimeoutProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnRoute.GrpcTimeoutProperty
Pythonaws_cdk.aws_appmesh.CfnRoute.GrpcTimeoutProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnRoute » GrpcTimeoutProperty

An object that represents types of timeouts.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const grpcTimeoutProperty: appmesh.CfnRoute.GrpcTimeoutProperty = {
  idle: {
    unit: 'unit',
    value: 123,
  },
  perRequest: {
    unit: 'unit',
    value: 123,
  },
};

Properties

NameTypeDescription
idle?IResolvable | DurationPropertyAn object that represents an idle timeout.
perRequest?IResolvable | DurationPropertyAn object that represents a per request timeout.

idle?

Type: IResolvable | DurationProperty (optional)

An object that represents an idle timeout.

An idle timeout bounds the amount of time that a connection may be idle. The default value is none.


perRequest?

Type: IResolvable | DurationProperty (optional)

An object that represents a per request timeout.

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.