BridgeFailoverConfig

class aws_cdk.aws_mediaconnect_alpha.BridgeFailoverConfig(*args: Any, **kwargs)

Bases: object

(experimental) Source failover configuration for a bridge.

Bridges only support FAILOVER (switchover) mode — the MERGE mode available on Flow.sourceFailoverConfig is not allowed on bridges by the service. Use {@link BridgeFailoverConfig.failover} to construct the configuration.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha

bridge_failover_config = mediaconnect_alpha.BridgeFailoverConfig.failover(
    primary_source="primarySource",
    state=mediaconnect_alpha.State.ENABLED
)

Static Methods

classmethod failover(*, primary_source=None, state=None)

(experimental) Configure switchover-mode failover.

The bridge swaps to the backup source when the primary source stops receiving data.

Parameters:
  • primary_source (Optional[str]) – (experimental) The name of the source you want to treat as primary. If set, MediaConnect always uses this source when it is available. When unset, both sources are treated with equal priority. Default: - both sources are equal priority

  • state (Optional[State]) – (experimental) Whether failover is enabled. Set to State.DISABLED to keep the configuration on the bridge without switching failover on. Default: State.ENABLED

Stability:

experimental

Return type:

BridgeFailoverConfig