OriginEndpointEncryptionArgs

data class OriginEndpointEncryptionArgs(val constantInitializationVector: Output<String>? = null, val encryptionMethod: Output<OriginEndpointEncryptionMethodArgs>, val keyRotationIntervalSeconds: Output<Int>? = null, val spekeKeyProvider: Output<OriginEndpointSpekeKeyProviderArgs>) : ConvertibleToJava<OriginEndpointEncryptionArgs>

The parameters for encrypting content.

Constructors

Link copied to clipboard
constructor(constantInitializationVector: Output<String>? = null, encryptionMethod: Output<OriginEndpointEncryptionMethodArgs>, keyRotationIntervalSeconds: Output<Int>? = null, spekeKeyProvider: Output<OriginEndpointSpekeKeyProviderArgs>)

Properties

Link copied to clipboard

A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).

Link copied to clipboard

The encryption method to use.

Link copied to clipboard
val keyRotationIntervalSeconds: Output<Int>? = null

The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.

The following example setting causes the service to rotate keys every thirty minutes: 1800

Link copied to clipboard

The SPEKE key provider to use for encryption.

Functions

Link copied to clipboard
open override fun toJava(): OriginEndpointEncryptionArgs