![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.mediapackage.kotlin.inputs.OriginEndpointSpekeKeyProviderArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackage.kotlin.inputs
import com.pulumi.awsnative.mediapackage.inputs.OriginEndpointSpekeKeyProviderArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
* @property certificateArn An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.
* @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 resourceId The resource ID to include in key requests.
* @property roleArn An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
* @property systemIds The system IDs to include in key requests.
* @property url The URL of the external key provider service.
*/
public data class OriginEndpointSpekeKeyProviderArgs(
public val certificateArn: Output? = null,
public val encryptionContractConfiguration: Output? = null,
public val resourceId: Output,
public val roleArn: Output,
public val systemIds: Output>,
public val url: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediapackage.inputs.OriginEndpointSpekeKeyProviderArgs = com.pulumi.awsnative.mediapackage.inputs.OriginEndpointSpekeKeyProviderArgs.builder()
.certificateArn(certificateArn?.applyValue({ args0 -> args0 }))
.encryptionContractConfiguration(
encryptionContractConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.resourceId(resourceId.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.systemIds(systemIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.url(url.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OriginEndpointSpekeKeyProviderArgs].
*/
@PulumiTagMarker
public class OriginEndpointSpekeKeyProviderArgsBuilder internal constructor() {
private var certificateArn: Output? = null
private var encryptionContractConfiguration:
Output? = null
private var resourceId: Output? = null
private var roleArn: Output? = null
private var systemIds: Output>? = null
private var url: Output? = null
/**
* @param value An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.
*/
@JvmName("vwrtixtqvhpjqdcm")
public suspend fun certificateArn(`value`: Output) {
this.certificateArn = value
}
/**
* @param value 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.
*/
@JvmName("uawlotbdodfudgsf")
public suspend fun encryptionContractConfiguration(`value`: Output) {
this.encryptionContractConfiguration = value
}
/**
* @param value The resource ID to include in key requests.
*/
@JvmName("yahocrrlahtvconc")
public suspend fun resourceId(`value`: Output) {
this.resourceId = value
}
/**
* @param value An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
*/
@JvmName("ttuigqflylllflsm")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The system IDs to include in key requests.
*/
@JvmName("drgshqfhqympkpvq")
public suspend fun systemIds(`value`: Output>) {
this.systemIds = value
}
@JvmName("gnvgeqlippemsali")
public suspend fun systemIds(vararg values: Output) {
this.systemIds = Output.all(values.asList())
}
/**
* @param values The system IDs to include in key requests.
*/
@JvmName("pqiomkvgwrlwjpnv")
public suspend fun systemIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy