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

com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationSpekeKeyProvider.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.mediapackage.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
 * @property encryptionContractConfiguration Use `encryptionContractConfiguration` to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.
 * @property roleArn The ARN for the IAM role that's granted by the key provider to provide access to the key provider API. Valid format: arn:aws:iam::{accountID}:role/{name}
 * @property systemIds The system IDs to include in key requests.
 * @property url The URL of the external key provider service.
 */
public data class PackagingConfigurationSpekeKeyProvider(
    public val encryptionContractConfiguration: PackagingConfigurationEncryptionContractConfiguration? =
        null,
    public val roleArn: String,
    public val systemIds: List,
    public val url: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.outputs.PackagingConfigurationSpekeKeyProvider): PackagingConfigurationSpekeKeyProvider = PackagingConfigurationSpekeKeyProvider(
            encryptionContractConfiguration = javaType.encryptionContractConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationEncryptionContractConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            roleArn = javaType.roleArn(),
            systemIds = javaType.systemIds().map({ args0 -> args0 }),
            url = javaType.url(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy