primaryIResolvable | CfnEndpoint.PrimaryPropertyprimarytyping.Union[IResolvable, PrimaryProperty]primaryIResolvablePrimaryIResolvablePrimaryinterface{}required#The main Region of the endpoint.
The failover configuration for an endpoint.
This includes what triggers failover and what happens when it's triggered.
// 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',
},
};
primaryIResolvable | CfnEndpoint.PrimaryPropertyprimarytyping.Union[IResolvable, PrimaryProperty]primaryIResolvablePrimaryIResolvablePrimaryinterface{}required#secondaryIResolvable | CfnEndpoint.SecondaryPropertysecondarytyping.Union[IResolvable, SecondaryProperty]secondaryIResolvableSecondaryIResolvableSecondaryinterface{}required#