interface OutlierDetectionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppMesh.CfnVirtualNodePropsMixin.OutlierDetectionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappmesh#CfnVirtualNodePropsMixin_OutlierDetectionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnVirtualNodePropsMixin.OutlierDetectionProperty |
Python | aws_cdk.cfn_property_mixins.aws_appmesh.CfnVirtualNodePropsMixin.OutlierDetectionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appmesh » 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 { aws_appmesh as appmesh } from '@aws-cdk/cfn-property-mixins';
const outlierDetectionProperty: appmesh.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