aws-cdk-lib.aws_events.CfnEndpoint.FailoverConfigProperty

interface FailoverConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Events.CfnEndpoint.FailoverConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsevents#CfnEndpoint_FailoverConfigProperty
Javasoftware.amazon.awscdk.services.events.CfnEndpoint.FailoverConfigProperty
Pythonaws_cdk.aws_events.CfnEndpoint.FailoverConfigProperty
TypeScript aws-cdk-lib » 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 { aws_events as events } from 'aws-cdk-lib';
const failoverConfigProperty: events.CfnEndpoint.FailoverConfigProperty = {
  primary: {
    healthCheck: 'healthCheck',
  },
  secondary: {
    route: 'route',
  },
};

Properties

NameTypeDescription
primaryIResolvable | PrimaryPropertyThe main Region of the endpoint.
secondaryIResolvable | SecondaryPropertyThe Region that events are routed to when failover is triggered or event replication is enabled.

primary

Type: IResolvable | PrimaryProperty

The main Region of the endpoint.


secondary

Type: IResolvable | SecondaryProperty

The Region that events are routed to when failover is triggered or event replication is enabled.