import { Value } from '../../../cloudformation/Value';
/**
  Information about the encryption of the flow.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconnect-flowsource-encryption.html">the AWS Docs</a>
*/
export interface EncryptionProps {
    /** <code>SecretArn</code>  <a name="cfn-mediaconnect-flowsource-encryption-secretarn"></a>
  The ARN of the secret that you created in AWS Secrets Manager to store the encryption key.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    secretArn?: Value<string>;
    /** <code>KeyType</code>  <a name="cfn-mediaconnect-flowsource-encryption-keytype"></a>
  The type of key that is used for the encryption. If you don’t specify a <code>keyType</code> value, the service uses the default setting (<code>static-key</code>). Valid key types are: <code>static-key</code>, <code>speke</code>, and <code>srt-password</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    keyType?: Value<string>;
    /** <code>ResourceId</code>  <a name="cfn-mediaconnect-flowsource-encryption-resourceid"></a>
  An identifier for the content. The service sends this value to the key server to identify the current endpoint. The resource ID is also known as the content ID. This parameter is required for SPEKE encryption and is not valid for static key encryption.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    resourceId?: Value<string>;
    /** <code>DeviceId</code>  <a name="cfn-mediaconnect-flowsource-encryption-deviceid"></a>
  The value of one of the devices that you configured with your digital rights management (DRM) platform key provider. This parameter is required for SPEKE encryption and is not valid for static key encryption.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    deviceId?: Value<string>;
    /** <code>Region</code>  <a name="cfn-mediaconnect-flowsource-encryption-region"></a>
  The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE encryption and is not valid for static key encryption.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    region?: Value<string>;
    /** <code>ConstantInitializationVector</code>  <a name="cfn-mediaconnect-flowsource-encryption-constantinitializationvector"></a>
  A 128-bit, 16-byte hex value represented by a 32-character string, to be used with the key for encrypting content. This parameter is not valid for static key encryption.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    constantInitializationVector?: Value<string>;
    /** <code>Algorithm</code>  <a name="cfn-mediaconnect-flowsource-encryption-algorithm"></a>
  The type of algorithm that is used for static key encryption (such as aes128, aes192, or aes256). If you are using SPEKE or SRT-password encryption, this property must be left blank.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    algorithm?: Value<string>;
    /** <code>RoleArn</code>  <a name="cfn-mediaconnect-flowsource-encryption-rolearn"></a>
  The Amazon Resource Name (ARN) of the role that you created during setup (when you set up MediaConnect as a trusted entity).<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    roleArn: Value<string>;
    /** <code>Url</code>  <a name="cfn-mediaconnect-flowsource-encryption-url"></a>
  The URL from the API Gateway proxy that you set up to talk to your key server. This parameter is required for SPEKE encryption and is not valid for static key encryption.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    url?: Value<string>;
}
