com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationSecretsManagerAccessTokenConfigurationArgs.kt Maven / Gradle / Ivy
Show all versions of pulumi-aws-native-kotlin Show documentation
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediatailor.kotlin.inputs
import com.pulumi.awsnative.mediatailor.inputs.SourceLocationSecretsManagerAccessTokenConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* AWS Secrets Manager access token configuration parameters. For information about Secrets Manager access token authentication, see Working with AWS Secrets Manager access token authentication.
* @property headerName The name of the HTTP header used to supply the access token in requests to the source location.
* @property secretArn The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.
* @property secretStringKey The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.
*/
public data class SourceLocationSecretsManagerAccessTokenConfigurationArgs(
public val headerName: Output? = null,
public val secretArn: Output? = null,
public val secretStringKey: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.SourceLocationSecretsManagerAccessTokenConfigurationArgs =
com.pulumi.awsnative.mediatailor.inputs.SourceLocationSecretsManagerAccessTokenConfigurationArgs.builder()
.headerName(headerName?.applyValue({ args0 -> args0 }))
.secretArn(secretArn?.applyValue({ args0 -> args0 }))
.secretStringKey(secretStringKey?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SourceLocationSecretsManagerAccessTokenConfigurationArgs].
*/
@PulumiTagMarker
public class SourceLocationSecretsManagerAccessTokenConfigurationArgsBuilder internal constructor() {
private var headerName: Output? = null
private var secretArn: Output? = null
private var secretStringKey: Output? = null
/**
* @param value The name of the HTTP header used to supply the access token in requests to the source location.
*/
@JvmName("ggdasqwxbckhbbax")
public suspend fun headerName(`value`: Output) {
this.headerName = value
}
/**
* @param value The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.
*/
@JvmName("sevvqgcokjotfejc")
public suspend fun secretArn(`value`: Output) {
this.secretArn = value
}
/**
* @param value The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.
*/
@JvmName("jpbropkyicgepjsh")
public suspend fun secretStringKey(`value`: Output) {
this.secretStringKey = value
}
/**
* @param value The name of the HTTP header used to supply the access token in requests to the source location.
*/
@JvmName("xhoeignrthdyxncc")
public suspend fun headerName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.headerName = mapped
}
/**
* @param value The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.
*/
@JvmName("gtgbnxeagovpjkmb")
public suspend fun secretArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretArn = mapped
}
/**
* @param value The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.
*/
@JvmName("sacbjempcrxkhugc")
public suspend fun secretStringKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretStringKey = mapped
}
internal fun build(): SourceLocationSecretsManagerAccessTokenConfigurationArgs =
SourceLocationSecretsManagerAccessTokenConfigurationArgs(
headerName = headerName,
secretArn = secretArn,
secretStringKey = secretStringKey,
)
}