Interface SrtPasswordEncryption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SrtPasswordEncryption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-31T10:49:55.234Z")
@Stability(Experimental)
public interface SrtPasswordEncryption
extends software.amazon.jsii.JsiiSerializable
(experimental) 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:
Stack stack;
Flow flow;
IRole role;
ISecret secret;
// SRT Caller output with encryption
FlowOutput output = FlowOutput.Builder.create(stack, "EncryptedOutput")
.flow(flow)
.description("Encrypted SRT output")
.output(OutputConfiguration.srtCaller(SrtCallerOutputConfig.builder()
.destination("203.0.113.100")
.port(7000)
.encryption(SrtPasswordEncryption.builder().role(role).secret(secret).build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSrtPasswordEncryptionstatic final classAn implementation forSrtPasswordEncryption -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecret
(experimental) Secrets Manager secret containing the SRT passphrase. -
getRole
(experimental) 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.
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.
-
builder
- Returns:
- a
SrtPasswordEncryption.BuilderofSrtPasswordEncryption
-