All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointEncryption.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediapackagev2.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * 

The parameters for encrypting content.

* @property constantInitializationVector

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).

* @property encryptionMethod The encryption method to use. * @property keyRotationIntervalSeconds

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 *

* @property spekeKeyProvider The SPEKE key provider to use for encryption. */ public data class OriginEndpointEncryption( public val constantInitializationVector: String? = null, public val encryptionMethod: OriginEndpointEncryptionMethod, public val keyRotationIntervalSeconds: Int? = null, public val spekeKeyProvider: OriginEndpointSpekeKeyProvider, ) { public companion object { public fun toKotlin(javaType: com.pulumi.awsnative.mediapackagev2.outputs.OriginEndpointEncryption): OriginEndpointEncryption = OriginEndpointEncryption( constantInitializationVector = javaType.constantInitializationVector().map({ args0 -> args0 }).orElse(null), encryptionMethod = javaType.encryptionMethod().let({ args0 -> com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointEncryptionMethod.Companion.toKotlin(args0) }), keyRotationIntervalSeconds = javaType.keyRotationIntervalSeconds().map({ args0 -> args0 }).orElse(null), spekeKeyProvider = javaType.spekeKeyProvider().let({ args0 -> com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointSpekeKeyProvider.Companion.toKotlin(args0) }), ) } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy