RouterInputProps

class aws_cdk.aws_mediaconnect_alpha.RouterInputProps(*, configuration, maximum_bitrate, routing_scope, maintenance_configuration=None, region_name=None, router_input_name=None, tags=None, tier=None, transit_encryption=None)

Bases: object

(experimental) Properties for creating a Router Input.

Parameters:
  • configuration (RouterInputConfiguration) – (experimental) Configuration for the Router Input (standard, failover, merge, or MediaConnect flow).

  • maximum_bitrate (Bitrate) – (experimental) The maximum bitrate for the router input.

  • routing_scope (RoutingScope) – (experimental) Indicates whether the router input is configured for Regional or global routing.

  • maintenance_configuration (Union[MaintenanceConfiguration, Dict[str, Any], None]) – (experimental) Maintenance window configuration. Default: - Default maintenance window will be used

  • region_name (Optional[str]) – (experimental) The AWS Region where the router input is located. Default: - Defaults to the same region as stack

  • router_input_name (Optional[str]) – (experimental) Name of the Router Input. Default: - Generated automatically

  • tags (Optional[Mapping[str, str]]) – (experimental) Tags to add to the Router Input. Default: - No tagging

  • tier (Optional[RouterInputTier]) – (experimental) Select a tier based on your maximum bitrate requirements. Default: RouterInputTier.INPUT_20

  • transit_encryption (Union[TransitEncryption, Dict[str, Any], None]) – (experimental) Transit encryption configuration using AWS Secrets Manager. When provided without a role, a scoped IAM role is automatically created with read access to the secret. Default: - Automatic encryption will be configured

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack
# network_interface: RouterNetworkInterface


input = RouterInput(stack, "FailoverInput",
    router_input_name="failover-input",
    maximum_bitrate=Bitrate.mbps(10),
    routing_scope=RoutingScope.REGIONAL,
    tier=RouterInputTier.INPUT_50,
    configuration=RouterInputConfiguration.failover(
        network_interface=network_interface,
        protocols=[
            RouterInputProtocol.rist(
                port=5000,
                recovery_latency=Duration.millis(1000)
            ),
            RouterInputProtocol.rist(
                port=5002,  # Must not be consecutive with primary port
                recovery_latency=Duration.millis(1000)
            )
        ],
        source_priority=SourcePriorityConfig.primary_secondary(PrimarySource.FIRST_SOURCE)
    )
)

Attributes

configuration

(experimental) Configuration for the Router Input (standard, failover, merge, or MediaConnect flow).

Stability:

experimental

maintenance_configuration

(experimental) Maintenance window configuration.

Default:
  • Default maintenance window will be used

Stability:

experimental

maximum_bitrate

(experimental) The maximum bitrate for the router input.

Stability:

experimental

region_name

(experimental) The AWS Region where the router input is located.

Default:
  • Defaults to the same region as stack

Stability:

experimental

router_input_name

(experimental) Name of the Router Input.

Default:
  • Generated automatically

Stability:

experimental

routing_scope

(experimental) Indicates whether the router input is configured for Regional or global routing.

Stability:

experimental

tags

(experimental) Tags to add to the Router Input.

Default:
  • No tagging

Stability:

experimental

tier

(experimental) Select a tier based on your maximum bitrate requirements.

Default:

RouterInputTier.INPUT_20

Stability:

experimental

transit_encryption

(experimental) Transit encryption configuration using AWS Secrets Manager.

When provided without a role, a scoped IAM role is automatically created with read access to the secret.

Default:
  • Automatic encryption will be configured

Stability:

experimental