InputProps

class aws_cdk.aws_medialive_alpha.InputProps(*, input, input_name=None, input_network_location=None, tags=None)

Bases: object

(experimental) Properties for creating a MediaLive Input.

Parameters:
  • input (InputConfiguration) – (experimental) Input configuration that defines the input type and source settings.

  • input_name (Optional[str]) – (experimental) Input name. Default: - auto-generated

  • input_network_location (Optional[InputNetworkLocation]) – (experimental) The network location of the input — AWS cloud or on-premises (MediaLive Anywhere). Default: - AWS, applied by MediaLive

  • tags (Optional[Mapping[str, str]]) – (experimental) Tags to add to the input. Default: - no tags

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack
# passphrase: secretsmanager.ISecret


sg = medialive.InputSecurityGroup(stack, "SrtSg",
    allowlist_rules=["203.0.113.0/24"]
)

medialive.Input(stack, "SrtListenerInput",
    input_name="srt-listener",
    input=medialive.InputConfiguration.srt_listener(
        input_security_groups=[sg],
        minimum_latency=Duration.millis(500),
        stream_id="my-stream-id",
        decryption=medialive.SrtDecryptionProps(
            algorithm=medialive.SrtDecryptionAlgorithm.AES256,
            passphrase_secret=passphrase
        )
    )
)

Attributes

input

(experimental) Input configuration that defines the input type and source settings.

Stability:

experimental

input_name

(experimental) Input name.

Default:
  • auto-generated

Stability:

experimental

input_network_location

(experimental) The network location of the input — AWS cloud or on-premises (MediaLive Anywhere).

Default:
  • AWS, applied by MediaLive

Stability:

experimental

tags

(experimental) Tags to add to the input.

Default:
  • no tags

Stability:

experimental