Skip to content
v2.274.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

EncryptionAlgorithm Class ​

Encryption Algorithms used in AWS Elemental MediaConnect.

Example ​

ts
declare const stack: Stack;
declare const flow: Flow;
declare const role: iam.IRole;
declare const secret: secretsmanager.ISecret;

const entitlement = new FlowEntitlement(stack, 'MyEntitlement', {
  flow: flow,
  description: 'Grant partner access to live feed',
  subscribers: ['111122223333'],
  encryption: {
    role,
    secret,
    algorithm: EncryptionAlgorithm.AES256,
  },
});

Properties ​

valuestringvaluestrvalueStringValuestringValue*stringrequired#
The encryption algorithm string value.

Methods ​

of(value: string): EncryptionAlgorithm // chainable@staticmethod def of(value: str) -> EncryptionAlgorithmpublic static EncryptionAlgorithm of(String value)public static EncryptionAlgorithm Of(string value)func Of(Value *string) EncryptionAlgorithmstatic#
Use a custom encryption algorithm value.
1 parameter

Parameters

  • valuevaluevaluevalueValue — The encryption algorithm string value.
toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string#
Returns the string value.