Interface StaticKeyEncryption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StaticKeyEncryption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-31T10:49:55.235Z")
@Stability(Experimental)
public interface StaticKeyEncryption
extends software.amazon.jsii.JsiiSerializable
(experimental) Static key encryption/decryption configuration for Zixi protocol sources and outputs, and flow entitlements.
The secret must live in the same AWS account and Region as the resource (source, output, or entitlement) that uses it. MediaConnect does not support cross-account or cross-Region secrets.
Example:
Stack stack;
Flow flow;
IRole role;
ISecret secret;
FlowEntitlement entitlement = FlowEntitlement.Builder.create(stack, "MyEntitlement")
.flow(flow)
.description("Grant partner access to live feed")
.subscribers(List.of("111122223333"))
.encryption(StaticKeyEncryption.builder()
.role(role)
.secret(secret)
.algorithm(EncryptionAlgorithm.AES256)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStaticKeyEncryptionstatic final classAn implementation forStaticKeyEncryption -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticKeyEncryption.Builderbuilder()(experimental) The encryption algorithm to use.default IRolegetRole()(experimental) IAM role that MediaConnect assumes to access the Secrets Manager secret.(experimental) Secrets Manager secret containing the static encryption key.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlgorithm
(experimental) The encryption algorithm to use. -
getSecret
(experimental) Secrets Manager secret containing the static encryption key. -
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 (including `kms:Decrypt` for a customer-managed key) and a confused-deputy trust condition. See the **Encryption** section of the module README for the generated trust policy.
-
builder
- Returns:
- a
StaticKeyEncryption.BuilderofStaticKeyEncryption
-