interface RoutingConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Events.CfnEndpoint.RoutingConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsevents#CfnEndpoint_RoutingConfigProperty |
![]() | software.amazon.awscdk.services.events.CfnEndpoint.RoutingConfigProperty |
![]() | aws_cdk.aws_events.CfnEndpoint.RoutingConfigProperty |
![]() | 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
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.