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
AES128EncryptionAlgorithmaes128EncryptionAlgorithmAES128EncryptionAlgorithmAES128EncryptionAlgorithmAES128EncryptionAlgorithmrequiredstatic#Option for AES128.
AES192EncryptionAlgorithmaes192EncryptionAlgorithmAES192EncryptionAlgorithmAES192EncryptionAlgorithmAES192EncryptionAlgorithmrequiredstatic#Option for AES192.
AES256EncryptionAlgorithmaes256EncryptionAlgorithmAES256EncryptionAlgorithmAES256EncryptionAlgorithmAES256EncryptionAlgorithmrequiredstatic#Option for AES256.
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.