SrtDecryptionProps

class aws_cdk.aws_medialive_alpha.SrtDecryptionProps(*, algorithm=None, passphrase_secret=None)

Bases: object

(experimental) Properties for SRT decryption.

Parameters:
  • algorithm (Optional[SrtDecryptionAlgorithm]) – (experimental) The encryption algorithm. Default: - no algorithm

  • passphrase_secret (Optional[ISecret]) – (experimental) The Secrets Manager secret containing the passphrase used to decrypt the content. Default: - no passphrase

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

algorithm

(experimental) The encryption algorithm.

Default:
  • no algorithm

Stability:

experimental

passphrase_secret

(experimental) The Secrets Manager secret containing the passphrase used to decrypt the content.

Default:
  • no passphrase

Stability:

experimental