interface SrtPasswordEncryption
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.SrtPasswordEncryption |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#SrtPasswordEncryption |
Java | software.amazon.awscdk.services.mediaconnect.alpha.SrtPasswordEncryption |
Python | aws_cdk.aws_mediaconnect_alpha.SrtPasswordEncryption |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป SrtPasswordEncryption |
SRT password encryption/decryption configuration for SRT Listener and SRT Caller sources and outputs on flows.
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.
Example
declare const stack: Stack;
declare const flow: Flow;
declare const role: iam.IRole;
declare const secret: secretsmanager.ISecret;
// SRT Caller output with encryption
const output = new FlowOutput(stack, 'EncryptedOutput', {
flow: flow,
description: 'Encrypted SRT output',
output: OutputConfiguration.srtCaller({
destination: '203.0.113.100',
port: 7000,
encryption: { role, secret },
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| secret | ISecret | Secrets Manager secret containing the SRT passphrase. |
| role? | IRole | IAM role that MediaConnect assumes to access the Secrets Manager secret. |
secret
Type:
ISecret
Secrets Manager secret containing the SRT passphrase.
role?
Type:
IRole
(optional, 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.)
IAM role that MediaConnect assumes to access the Secrets Manager secret.
If provided, the role is used as-is; you must grant it the necessary permissions yourself.

.NET
Go
Java
Python
TypeScript (