Class CfnEndpoint.FailoverConfigProperty
The failover configuration for an endpoint.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEndpoint.FailoverConfigProperty : CfnEndpoint.IFailoverConfigProperty
Syntax (vb)
Public Class CfnEndpoint.FailoverConfigProperty Implements CfnEndpoint.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
Constructors
| FailoverConfigProperty() | The failover configuration for an endpoint. |
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. |
Constructors
FailoverConfigProperty()
The failover configuration for an endpoint.
public FailoverConfigProperty()
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"
}
};
Properties
Primary
The main Region of the endpoint.
public object Primary { get; set; }
Property Value
Remarks
Secondary
The Region that events are routed to when failover is triggered or event replication is enabled.
public object Secondary { get; set; }