BridgeFailoverOptions

class aws_cdk.aws_mediaconnect_alpha.BridgeFailoverOptions(*, primary_source=None, state=None)

Bases: object

(experimental) Options for bridge source failover.

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

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_options = mediaconnect_alpha.BridgeFailoverOptions(
    primary_source="primarySource",
    state=mediaconnect_alpha.State.ENABLED
)

Attributes

primary_source

(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

Stability:

experimental

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