Skip to content
v2.273.0

SrtDecryptionAlgorithm Class ​

The encryption algorithm 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 ​

valuestringvaluestrvalueStringValuestringValue*stringrequired#
The underlying string value passed to CloudFormation.

Methods ​

of(value: string): SrtDecryptionAlgorithm // chainable@staticmethod def of(value: str) -> SrtDecryptionAlgorithmpublic static SrtDecryptionAlgorithm of(String value)public static SrtDecryptionAlgorithm Of(string value)func Of(Value *string) SrtDecryptionAlgorithmstatic#
A value not yet modelled by AWS CDK.