aws-cdk-lib.aws_appmesh.CfnVirtualNode.ListenerTimeoutProperty

interface ListenerTimeoutProperty

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

An object that represents timeouts for different protocols.

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 listenerTimeoutProperty: appmesh.CfnVirtualNode.ListenerTimeoutProperty = {
  grpc: {
    idle: {
      unit: 'unit',
      value: 123,
    },
    perRequest: {
      unit: 'unit',
      value: 123,
    },
  },
  http: {
    idle: {
      unit: 'unit',
      value: 123,
    },
    perRequest: {
      unit: 'unit',
      value: 123,
    },
  },
  http2: {
    idle: {
      unit: 'unit',
      value: 123,
    },
    perRequest: {
      unit: 'unit',
      value: 123,
    },
  },
  tcp: {
    idle: {
      unit: 'unit',
      value: 123,
    },
  },
};

Properties

NameTypeDescription
grpc?IResolvable | GrpcTimeoutPropertyAn object that represents types of timeouts.
http?IResolvable | HttpTimeoutPropertyAn object that represents types of timeouts.
http2?IResolvable | HttpTimeoutPropertyAn object that represents types of timeouts.
tcp?IResolvable | TcpTimeoutPropertyAn object that represents types of timeouts.

grpc?

Type: IResolvable | GrpcTimeoutProperty (optional)

An object that represents types of timeouts.


http?

Type: IResolvable | HttpTimeoutProperty (optional)

An object that represents types of timeouts.


http2?

Type: IResolvable | HttpTimeoutProperty (optional)

An object that represents types of timeouts.


tcp?

Type: IResolvable | TcpTimeoutProperty (optional)

An object that represents types of timeouts.