interface OutlierDetectionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnVirtualNode.OutlierDetectionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_OutlierDetectionProperty |
Java | software.amazon.awscdk.services.appmesh.CfnVirtualNode.OutlierDetectionProperty |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| base | IResolvable | Duration | The base amount of time for which a host is ejected. |
| interval | IResolvable | Duration | The time interval between ejection sweep analysis. |
| max | number | Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. |
| max | number | Number of consecutive 5xx errors required for ejection. |
baseEjectionDuration
Type:
IResolvable | Duration
The base amount of time for which a host is ejected.
interval
Type:
IResolvable | Duration
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.

.NET
Go
Java
Python
TypeScript