Skip to content
v2.275.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

SrtDecryptionProps Struct ​

Properties for SRT decryption.

Example ​

ts
declare const stack: Stack;
declare const passphrase: secretsmanager.ISecret;

const sg = new medialive.InputSecurityGroup(stack, 'SrtSg', {
  allowlistRules: ['203.0.113.0/24'],
});

new medialive.Input(stack, 'SrtListenerInput', {
  inputName: 'srt-listener',
  input: medialive.InputConfiguration.srtListener({
    inputSecurityGroups: [sg],
    minimumLatency: Duration.millis(500),
    streamId: 'my-stream-id',
    decryption: {
      algorithm: medialive.SrtDecryptionAlgorithm.AES256,
      passphraseSecret: passphrase,
    },
  }),
});

Properties ​

algorithmoptionalSrtDecryptionAlgorithmalgorithmoptionalSrtDecryptionAlgorithmalgorithmoptionalSrtDecryptionAlgorithmAlgorithmoptionalSrtDecryptionAlgorithmAlgorithmoptionalSrtDecryptionAlgorithm#
The encryption algorithm.

Default: no algorithm

passphraseSecretoptionalISecretpassphrase_secretoptionalISecretpassphraseSecretoptionalISecretPassphraseSecretoptionalISecretPassphraseSecretoptionalISecret#
The Secrets Manager secret containing the passphrase used to decrypt the content.

Default: no passphrase