aws-cdk-lib.aws_appmesh.CfnVirtualNode.OutlierDetectionProperty

interface OutlierDetectionProperty

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

An object that represents the outlier detection for a virtual node's listener.

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 outlierDetectionProperty: appmesh.CfnVirtualNode.OutlierDetectionProperty = {
  baseEjectionDuration: {
    unit: 'unit',
    value: 123,
  },
  interval: {
    unit: 'unit',
    value: 123,
  },
  maxEjectionPercent: 123,
  maxServerErrors: 123,
};

Properties

NameTypeDescription
baseEjectionDurationIResolvable | DurationPropertyThe base amount of time for which a host is ejected.
intervalIResolvable | DurationPropertyThe time interval between ejection sweep analysis.
maxEjectionPercentnumberMaximum percentage of hosts in load balancing pool for upstream service that can be ejected.
maxServerErrorsnumberNumber of consecutive 5xx errors required for ejection.

baseEjectionDuration

Type: IResolvable | DurationProperty

The base amount of time for which a host is ejected.


interval

Type: IResolvable | DurationProperty

The time interval between ejection sweep analysis.


maxEjectionPercent

Type: number

Maximum percentage of hosts in load balancing pool for upstream service that can be ejected.

Will eject at least one host regardless of the value.


maxServerErrors

Type: number

Number of consecutive 5xx errors required for ejection.