interface OutlierDetectionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualNodePropsMixin.OutlierDetectionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualNodePropsMixin_OutlierDetectionProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualNodePropsMixin.OutlierDetectionProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualNodePropsMixin.OutlierDetectionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualNodePropsMixin » 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const outlierDetectionProperty: appmesh_mixins.CfnVirtualNodePropsMixin.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
(optional)
The base amount of time for which a host is ejected.
interval?
Type:
IResolvable | Duration
(optional)
The time interval between ejection sweep analysis.
maxEjectionPercent?
Type:
number
(optional)
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
(optional)
Number of consecutive 5xx errors required for ejection.

.NET
Go
Java
Python
TypeScript