class Amazonite::EventBridge::FailoverConfig

Overview

The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.

Included Modules

Defined in:

eventbridge/failover_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(primary : Primary, secondary : Secondary) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def primary : Primary #

The main Region of the endpoint.


[View source]
def primary=(primary : Primary) #

The main Region of the endpoint.


[View source]
def secondary : Secondary #

The Region that events are routed to when failover is triggered or event replication is enabled.


[View source]
def secondary=(secondary : Secondary) #

The Region that events are routed to when failover is triggered or event replication is enabled.


[View source]
def validate! : Nil #

[View source]