
com.pulumi.awsnative.mediapackage.kotlin.inputs.PackagingGroupAuthorizationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackage.kotlin.inputs
import com.pulumi.awsnative.mediapackage.inputs.PackagingGroupAuthorizationArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property cdnIdentifierSecret The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
* @property secretsRoleArn The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
*/
public data class PackagingGroupAuthorizationArgs(
public val cdnIdentifierSecret: Output,
public val secretsRoleArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediapackage.inputs.PackagingGroupAuthorizationArgs =
com.pulumi.awsnative.mediapackage.inputs.PackagingGroupAuthorizationArgs.builder()
.cdnIdentifierSecret(cdnIdentifierSecret.applyValue({ args0 -> args0 }))
.secretsRoleArn(secretsRoleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PackagingGroupAuthorizationArgs].
*/
@PulumiTagMarker
public class PackagingGroupAuthorizationArgsBuilder internal constructor() {
private var cdnIdentifierSecret: Output? = null
private var secretsRoleArn: Output? = null
/**
* @param value The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
*/
@JvmName("vnwvsdaktnymsqyf")
public suspend fun cdnIdentifierSecret(`value`: Output) {
this.cdnIdentifierSecret = value
}
/**
* @param value The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
*/
@JvmName("cgmacegctpfvtpna")
public suspend fun secretsRoleArn(`value`: Output) {
this.secretsRoleArn = value
}
/**
* @param value The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.
*/
@JvmName("ohffwshxxtdehstm")
public suspend fun cdnIdentifierSecret(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.cdnIdentifierSecret = mapped
}
/**
* @param value The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
*/
@JvmName("mdmwprefqwnqfwjv")
public suspend fun secretsRoleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.secretsRoleArn = mapped
}
internal fun build(): PackagingGroupAuthorizationArgs = PackagingGroupAuthorizationArgs(
cdnIdentifierSecret = cdnIdentifierSecret ?: throw PulumiNullFieldException("cdnIdentifierSecret"),
secretsRoleArn = secretsRoleArn ?: throw PulumiNullFieldException("secretsRoleArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy