Interface CfnEndpoint.IFailoverConfigProperty
The failover configuration for an endpoint.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFailoverConfigProperty
Syntax (vb)
Public Interface IFailoverConfigProperty
Remarks
This includes what triggers failover and what happens when it's triggered.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var failoverConfigProperty = new FailoverConfigProperty {
Primary = new PrimaryProperty {
HealthCheck = "healthCheck"
},
Secondary = new SecondaryProperty {
Route = "route"
}
};
Synopsis
Properties
Primary | The main Region of the endpoint. |
Secondary | The Region that events are routed to when failover is triggered or event replication is enabled. |
Properties
Primary
The main Region of the endpoint.
object Primary { get; }
Property Value
System.
Remarks
Secondary
The Region that events are routed to when failover is triggered or event replication is enabled.
object Secondary { get; }
Property Value
System.