SrtPasswordEncryption

class aws_cdk.aws_mediaconnect_alpha.SrtPasswordEncryption(*, secret, role=None)

Bases: object

(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.

Parameters:
  • secret (ISecret) – (experimental) Secrets Manager secret containing the SRT passphrase.

  • role (Optional[IRole]) – (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.

See:

https://docs.aws.amazon.com/mediaconnect/latest/ug/cross-service-confused-deputy-prevention.html

Stability:

experimental

ExampleMetadata:

infused

Example:

from aws_cdk.aws_mediaconnect_alpha import SrtPasswordEncryption
# stack: Stack
# flow: Flow
# role: iam.IRole
# secret: secretsmanager.ISecret


# SRT Caller output with encryption
output = FlowOutput(stack, "EncryptedOutput",
    flow=flow,
    description="Encrypted SRT output",
    output=OutputConfiguration.srt_caller(
        destination="203.0.113.100",
        port=7000,
        encryption=SrtPasswordEncryption(role=role, secret=secret)
    )
)

Attributes

role

(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.

Stability:

experimental

secret

(experimental) Secrets Manager secret containing the SRT passphrase.

Stability:

experimental