OutputConfiguration

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

Bases: object

(experimental) Configuration options to define a FlowOutput by protocol.

Stability:

experimental

ExampleMetadata:

infused

Example:

from aws_cdk.aws_mediaconnect_alpha import SrtPasswordEncryption
# stack: Stack
# flow: Flow
# role: iam.IRole
# secret: secretsmanager.ISecret


# SRT Caller output with encryption
output = FlowOutput(stack, "EncryptedOutput",
    flow=flow,
    description="Encrypted SRT output",
    output=OutputConfiguration.srt_caller(
        destination="203.0.113.100",
        port=7000,
        encryption=SrtPasswordEncryption(role=role, secret=secret)
    )
)

Static Methods

classmethod ndi(*, ndi_program_name=None, ndi_speed_hq_quality=None)

(experimental) Option for NDI configuration.

Parameters:
  • ndi_program_name (Optional[str]) – (experimental) A suffix for the names of the NDI sources that the flow creates. Default: - the output name is used

  • ndi_speed_hq_quality (Union[int, float, None]) – (experimental) A quality setting for the NDI Speed HQ encoder, expressed as a percentage. Valid range: 100-200. Higher values produce higher quality and larger bitrate. Default: - the MediaConnect service default

Stability:

experimental

Return type:

OutputConfiguration

classmethod rist(*, destination, port, smoothing_latency=None, vpc_interface_attachment=None)

(experimental) Option for RIST configuration.

Parameters:
  • destination (str) – (experimental) The IP address where you want to send the output.

  • port (Union[int, float]) – (experimental) The port to use when content is distributed to this output.

  • smoothing_latency (Optional[Duration]) – (experimental) The smoothing latency for RIST, RTP, and RTP-FEC streams. Default: - no smoothing latency

  • vpc_interface_attachment (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The name of the VPC interface attachment to use for this output. Default: - no VPC interface attachment

Stability:

experimental

Return type:

OutputConfiguration

classmethod router(*, encryption=None)

(experimental) The source configuration for flows receiving a stream from router.

Parameters:

encryption (Union[TransitEncryption, Dict[str, Any], None]) – (experimental) Specifies whether encryption is to be used. Default: no encryption

Stability:

experimental

Return type:

OutputConfiguration

classmethod rtp(*, destination, port, smoothing_latency=None, vpc_interface_attachment=None)

(experimental) Option for RTP configuration.

Parameters:
  • destination (str) – (experimental) The IP address where you want to send the output.

  • port (Union[int, float]) – (experimental) The port to use when content is distributed to this output.

  • smoothing_latency (Optional[Duration]) – (experimental) The smoothing latency for RIST, RTP, and RTP-FEC streams. Default: - no smoothing latency

  • vpc_interface_attachment (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The name of the VPC interface attachment to use for this output. Default: - no VPC interface attachment

Stability:

experimental

Return type:

OutputConfiguration

classmethod rtp_fec(*, destination, port, smoothing_latency=None, vpc_interface_attachment=None)

(experimental) Option for RTP-FEC configuration.

Parameters:
  • destination (str) – (experimental) The IP address where you want to send the output.

  • port (Union[int, float]) – (experimental) The port to use when content is distributed to this output.

  • smoothing_latency (Optional[Duration]) – (experimental) The smoothing latency for RIST, RTP, and RTP-FEC streams. Default: - no smoothing latency

  • vpc_interface_attachment (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The name of the VPC interface attachment to use for this output. Default: - no VPC interface attachment

Stability:

experimental

Return type:

OutputConfiguration

classmethod srt_caller(*, destination, port, encryption=None, min_latency=None, stream_id=None, vpc_interface_attachment=None)

(experimental) Option for SRT Caller configuration.

Parameters:
  • destination (str) – (experimental) The IP address where you want to send the output.

  • port (Union[int, float]) – (experimental) The port to use when content is distributed to this output.

  • encryption (Union[SrtPasswordEncryption, Dict[str, Any], None]) – (experimental) SRT password encryption for this output. Default: - no encryption

  • min_latency (Optional[Duration]) – (experimental) The minimum latency in milliseconds for SRT-based streams. The value you set on your MediaConnect output represents the minimal potential latency of that connection. The latency of the stream is set to the higher of the sender’s minimum latency and the receiver’s minimum latency. Default: - no minimum latency

  • stream_id (Optional[str]) – (experimental) The stream ID that you want to use for this transport. Default: - no stream ID

  • vpc_interface_attachment (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The VPC interface attachment to use for this output. Default: - no VPC interface attachment

Stability:

experimental

Return type:

OutputConfiguration

classmethod srt_listener(*, port, cidr_allow_list=None, encryption=None, min_latency=None, vpc_interface_attachment=None)

(experimental) Option for SRT Listener configuration.

Parameters:
  • port (Union[int, float]) – (experimental) The port to use when content is distributed to this output.

  • cidr_allow_list (Optional[Sequence[str]]) – (experimental) The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. Default: - no CIDR allow list

  • encryption (Union[SrtPasswordEncryption, Dict[str, Any], None]) – (experimental) SRT password encryption for this output. Default: - no encryption

  • min_latency (Optional[Duration]) – (experimental) The minimum latency in milliseconds for SRT-based streams. The value you set on your MediaConnect output represents the minimal potential latency of that connection. The latency of the stream is set to the higher of the sender’s minimum latency and the receiver’s minimum latency. Default: - no minimum latency

  • vpc_interface_attachment (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The VPC interface attachment to use for this output. Default: - no VPC interface attachment

Stability:

experimental

Return type:

OutputConfiguration

classmethod zixi_pull(*, cidr_allow_list, max_latency, remote_id, stream_id, encryption=None, vpc_interface_attachment=None)

(experimental) Option for Zixi Pull configuration.

Parameters:
  • cidr_allow_list (Sequence[str]) – (experimental) The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. Required by the MediaConnect service for Zixi Pull outputs.

  • max_latency (Duration) – (experimental) The maximum latency for Zixi-based streams.

  • remote_id (str) – (experimental) The remote ID for the Zixi-pull stream.

  • stream_id (str) – (experimental) The stream ID that you want to use for this transport.

  • encryption (Union[StaticKeyEncryption, Dict[str, Any], None]) – (experimental) Static key encryption for this output. Default: - no encryption

  • vpc_interface_attachment (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The VPC interface attachment to use for this output. Default: - no VPC interface attachment

Stability:

experimental

Return type:

OutputConfiguration

classmethod zixi_push(*, destination, max_latency, port, stream_id, cidr_allow_list=None, encryption=None, vpc_interface_attachment=None)

(experimental) Option for Zixi Push configuration.

Parameters:
  • destination (str) – (experimental) The IP address where you want to send the output.

  • max_latency (Duration) – (experimental) The maximum latency for Zixi-based streams.

  • port (Union[int, float]) – (experimental) The port to use when content is distributed to this output.

  • stream_id (str) – (experimental) The stream ID that you want to use for this transport.

  • cidr_allow_list (Optional[Sequence[str]]) – (experimental) The range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16. Default: - no CIDR allow list

  • encryption (Union[StaticKeyEncryption, Dict[str, Any], None]) – (experimental) Static key encryption for this output. Default: - no encryption

  • vpc_interface_attachment (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The VPC interface attachment to use for this output. Default: - no VPC interface attachment

Stability:

experimental

Return type:

OutputConfiguration