EncryptionAlgorithm

class aws_cdk.aws_mediaconnect_alpha.EncryptionAlgorithm(*args: Any, **kwargs)

Bases: object

(experimental) Encryption Algorithms used in AWS Elemental MediaConnect.

Stability:

experimental

ExampleMetadata:

infused

Example:

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


entitlement = FlowEntitlement(stack, "MyEntitlement",
    flow=flow,
    description="Grant partner access to live feed",
    subscribers=["111122223333"],
    encryption=StaticKeyEncryption(
        role=role,
        secret=secret,
        algorithm=EncryptionAlgorithm.AES256
    )
)

Methods

to_string()

(experimental) Returns the string value.

Stability:

experimental

Return type:

str

Attributes

AES128 = <aws_cdk.aws_mediaconnect_alpha.EncryptionAlgorithm object>
AES192 = <aws_cdk.aws_mediaconnect_alpha.EncryptionAlgorithm object>
AES256 = <aws_cdk.aws_mediaconnect_alpha.EncryptionAlgorithm object>
value

(experimental) The encryption algorithm string value.

Stability:

experimental

Static Methods

classmethod of(value)

(experimental) Use a custom encryption algorithm value.

Parameters:

value (str) – The encryption algorithm string value.

Stability:

experimental

Return type:

EncryptionAlgorithm