interface FailoverConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Events.CfnEndpoint.FailoverConfigProperty |
Java | software.amazon.awscdk.services.events.CfnEndpoint.FailoverConfigProperty |
Python | aws_cdk.aws_events.CfnEndpoint.FailoverConfigProperty |
TypeScript | @aws-cdk/aws-events » CfnEndpoint » FailoverConfigProperty |
The failover configuration for an endpoint.
This includes what triggers failover and what happens when it's triggered.
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 failoverConfigProperty: events.CfnEndpoint.FailoverConfigProperty = {
primary: {
healthCheck: 'healthCheck',
},
secondary: {
route: 'route',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| primary | IResolvable | Primary | The main Region of the endpoint. |
| secondary | IResolvable | Secondary | The Region that events are routed to when failover is triggered or event replication is enabled. |
primary
Type:
IResolvable | Primary
The main Region of the endpoint.
secondary
Type:
IResolvable | Secondary
The Region that events are routed to when failover is triggered or event replication is enabled.

.NET
Java
Python
TypeScript