Class SrtPasswordEncryption
(experimental) SRT password encryption/decryption configuration for SRT Listener and SRT Caller sources and outputs on flows.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MediaConnect.Alpha
Assembly: Amazon.CDK.AWS.MediaConnect.Alpha.dll
Syntax (csharp)
public class SrtPasswordEncryption : ISrtPasswordEncryption
Syntax (vb)
Public Class SrtPasswordEncryption Implements ISrtPasswordEncryption
Remarks
The secret must live in the same AWS account and Region as the resource (source or output) that uses it. MediaConnect does not support cross-account or cross-Region secrets.
Stability: Experimental
ExampleMetadata: infused
Examples
Stack stack;
Flow flow;
IRole role;
ISecret secret;
// SRT Caller output with encryption
var output = new FlowOutput(stack, "EncryptedOutput", new FlowOutputProps {
Flow = flow,
Description = "Encrypted SRT output",
Output = OutputConfiguration.SrtCaller(new SrtCallerOutputConfig {
Destination = "203.0.113.100",
Port = 7000,
Encryption = new SrtPasswordEncryption { Role = role, Secret = secret }
})
});
Synopsis
Constructors
| SrtPasswordEncryption() | (experimental) SRT password encryption/decryption configuration for SRT Listener and SRT Caller sources and outputs on flows. |
Properties
| Role | (experimental) IAM role that MediaConnect assumes to access the Secrets Manager secret. |
| Secret | (experimental) Secrets Manager secret containing the SRT passphrase. |
Constructors
SrtPasswordEncryption()
(experimental) SRT password encryption/decryption configuration for SRT Listener and SRT Caller sources and outputs on flows.
public SrtPasswordEncryption()
Remarks
The secret must live in the same AWS account and Region as the resource (source or output) that uses it. MediaConnect does not support cross-account or cross-Region secrets.
Stability: Experimental
ExampleMetadata: infused
Examples
Stack stack;
Flow flow;
IRole role;
ISecret secret;
// SRT Caller output with encryption
var output = new FlowOutput(stack, "EncryptedOutput", new FlowOutputProps {
Flow = flow,
Description = "Encrypted SRT output",
Output = OutputConfiguration.SrtCaller(new SrtCallerOutputConfig {
Destination = "203.0.113.100",
Port = 7000,
Encryption = new SrtPasswordEncryption { Role = role, Secret = secret }
})
});
Properties
Role
(experimental) IAM role that MediaConnect assumes to access the Secrets Manager secret.
public IRole? Role { get; set; }
Property Value
Remarks
If provided, the role is used as-is; you must grant it the necessary permissions yourself.
Default: - a scoped role is auto-created with read access to the secret and a confused-deputy trust condition. See the Encryption section of the module README for the generated trust policy.
Stability: Experimental
Secret
(experimental) Secrets Manager secret containing the SRT passphrase.
public ISecret Secret { get; set; }
Property Value
Remarks
Stability: Experimental