interface RoutingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Events.CfnEndpoint.RoutingConfigProperty |
Java | software.amazon.awscdk.services.events.CfnEndpoint.RoutingConfigProperty |
Python | aws_cdk.aws_events.CfnEndpoint.RoutingConfigProperty |
TypeScript | @aws-cdk/aws-events » CfnEndpoint » RoutingConfigProperty |
The routing configuration of the endpoint.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as events from '@aws-cdk/aws-events';
const routingConfigProperty: events.CfnEndpoint.RoutingConfigProperty = {
failoverConfig: {
primary: {
healthCheck: 'healthCheck',
},
secondary: {
route: 'route',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| failover | IResolvable | Failover | The failover configuration for an endpoint. |
failoverConfig
Type:
IResolvable | Failover
The failover configuration for an endpoint.
This includes what triggers failover and what happens when it's triggered.

.NET
Java
Python
TypeScript