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) Maximum bitrate in bits per second that the Router Input can handle.

  • routing_scope (RoutingScope) – (experimental) Routing scope for the Router Input.

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

  • region_name (Optional[str]) – (experimental) AWS region where the Router Input will be created (i.e. us-east-1). Must match the region of the flows, flow outputs, and network interfaces it connects to — MediaConnect rejects a cross-region connection at deploy. Default: - Same as the stack’s region

  • 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) Maximum bitrate in bits per second that the Router Input can handle.

Stability:

experimental

region_name

(experimental) AWS region where the Router Input will be created (i.e. us-east-1).

Must match the region of the flows, flow outputs, and network interfaces it connects to — MediaConnect rejects a cross-region connection at deploy.

Default:
  • Same as the stack’s region

Stability:

experimental

router_input_name

(experimental) Name of the Router Input.

Default:
  • Generated automatically

Stability:

experimental

routing_scope

(experimental) Routing scope for the Router Input.

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