CfnRouterInputProps

class aws_cdk.aws_mediaconnect.CfnRouterInputProps(*, configuration, maximum_bitrate, name, routing_scope, tier, availability_zone=None, maintenance_configuration=None, region_name=None, tags=None, transit_encryption=None)

Bases: object

Properties for defining a CfnRouterInput.

Parameters:
  • configuration (Union[IResolvable, RouterInputConfigurationProperty, Dict[str, Any]]) – The configuration settings for a router input.

  • maximum_bitrate (Union[int, float]) – The maximum bitrate for the router input.

  • name (str) – The name of the router input.

  • routing_scope (str)

  • tier (str)

  • availability_zone (Optional[str]) – The Availability Zone where you want to create the router input. This must be a valid Availability Zone for the region specified by regionName, or the current region if no regionName is provided.

  • maintenance_configuration (Union[IResolvable, MaintenanceConfigurationProperty, Dict[str, Any], None]) – The configuration settings for maintenance operations, including preferred maintenance windows and schedules.

  • region_name (Optional[str]) – The AWS Region for the router input. Defaults to the current region if not specified.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Key-value pairs that can be used to tag and organize this router input.

  • transit_encryption (Union[IResolvable, RouterInputTransitEncryptionProperty, Dict[str, Any], None]) – Information about the encryption of the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html

ExampleMetadata:

fixture=_generated

Example:

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

# automatic: Any
# default_: Any

cfn_router_input_props = mediaconnect.CfnRouterInputProps(
    configuration=mediaconnect.CfnRouterInput.RouterInputConfigurationProperty(
        failover=mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty(
            network_interface_arn="networkInterfaceArn",
            protocol_configurations=[mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty(
                rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
                    port=123,
                    recovery_latency_milliseconds=123
                ),
                rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty(
                    port=123,

                    # the properties below are optional
                    forward_error_correction="forwardErrorCorrection"
                ),
                srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty(
                    minimum_latency_milliseconds=123,
                    source_address="sourceAddress",
                    source_port=123,

                    # the properties below are optional
                    decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
                        encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                            role_arn="roleArn",
                            secret_arn="secretArn"
                        )
                    ),
                    stream_id="streamId"
                ),
                srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty(
                    minimum_latency_milliseconds=123,
                    port=123,

                    # the properties below are optional
                    decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
                        encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                            role_arn="roleArn",
                            secret_arn="secretArn"
                        )
                    )
                )
            )],
            source_priority_mode="sourcePriorityMode",

            # the properties below are optional
            primary_source_index=123
        ),
        media_connect_flow=mediaconnect.CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty(
            source_transit_decryption=mediaconnect.CfnRouterInput.FlowTransitEncryptionProperty(
                encryption_key_configuration=mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty(
                    automatic=automatic,
                    secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                        role_arn="roleArn",
                        secret_arn="secretArn"
                    )
                ),

                # the properties below are optional
                encryption_key_type="encryptionKeyType"
            ),

            # the properties below are optional
            flow_arn="flowArn",
            flow_output_arn="flowOutputArn"
        ),
        merge=mediaconnect.CfnRouterInput.MergeRouterInputConfigurationProperty(
            merge_recovery_window_milliseconds=123,
            network_interface_arn="networkInterfaceArn",
            protocol_configurations=[mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty(
                rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
                    port=123,
                    recovery_latency_milliseconds=123
                ),
                rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty(
                    port=123,

                    # the properties below are optional
                    forward_error_correction="forwardErrorCorrection"
                )
            )]
        ),
        standard=mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty(
            network_interface_arn="networkInterfaceArn",
            protocol_configuration=mediaconnect.CfnRouterInput.RouterInputProtocolConfigurationProperty(
                rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
                    port=123,
                    recovery_latency_milliseconds=123
                ),
                rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty(
                    port=123,

                    # the properties below are optional
                    forward_error_correction="forwardErrorCorrection"
                ),
                srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty(
                    minimum_latency_milliseconds=123,
                    source_address="sourceAddress",
                    source_port=123,

                    # the properties below are optional
                    decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
                        encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                            role_arn="roleArn",
                            secret_arn="secretArn"
                        )
                    ),
                    stream_id="streamId"
                ),
                srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty(
                    minimum_latency_milliseconds=123,
                    port=123,

                    # the properties below are optional
                    decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
                        encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                            role_arn="roleArn",
                            secret_arn="secretArn"
                        )
                    )
                )
            ),

            # the properties below are optional
            protocol="protocol"
        )
    ),
    maximum_bitrate=123,
    name="name",
    routing_scope="routingScope",
    tier="tier",

    # the properties below are optional
    availability_zone="availabilityZone",
    maintenance_configuration=mediaconnect.CfnRouterInput.MaintenanceConfigurationProperty(
        default=default_,
        preferred_day_time=mediaconnect.CfnRouterInput.PreferredDayTimeMaintenanceConfigurationProperty(
            day="day",
            time="time"
        )
    ),
    region_name="regionName",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transit_encryption=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionProperty(
        encryption_key_configuration=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionKeyConfigurationProperty(
            automatic=automatic,
            secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                role_arn="roleArn",
                secret_arn="secretArn"
            )
        ),

        # the properties below are optional
        encryption_key_type="encryptionKeyType"
    )
)

Attributes

availability_zone

The Availability Zone where you want to create the router input.

This must be a valid Availability Zone for the region specified by regionName, or the current region if no regionName is provided.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-availabilityzone

configuration

The configuration settings for a router input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-configuration

maintenance_configuration

The configuration settings for maintenance operations, including preferred maintenance windows and schedules.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-maintenanceconfiguration

maximum_bitrate

The maximum bitrate for the router input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-maximumbitrate

name

The name of the router input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-name

region_name

The AWS Region for the router input.

Defaults to the current region if not specified.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-regionname

routing_scope

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-routingscope

Type:

see

tags

Key-value pairs that can be used to tag and organize this router input.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-tags

tier

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-tier

Type:

see

transit_encryption

Information about the encryption of the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-routerinput.html#cfn-mediaconnect-routerinput-transitencryption