aws-cdk-lib.aws_events.CfnEndpoint.RoutingConfigProperty

interface RoutingConfigProperty

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

Properties

NameTypeDescription
failoverConfigIResolvable | FailoverConfigPropertyThe failover configuration for an endpoint.

failoverConfig

Type: IResolvable | FailoverConfigProperty

The failover configuration for an endpoint.

This includes what triggers failover and what happens when it's triggered.