
com.pulumi.awsnative.signer.kotlin.ProfilePermissionArgs.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.signer.kotlin
import com.pulumi.awsnative.signer.ProfilePermissionArgs.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
/**
* An example resource schema demonstrating some basic constructs and validation rules.
* @property action The AWS Signer action permitted as part of cross-account permissions.
* @property principal The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
* @property profileName The human-readable name of the signing profile.
* @property profileVersion The version of the signing profile.
* @property statementId A unique identifier for the cross-account permission statement.
*/
public data class ProfilePermissionArgs(
public val action: Output? = null,
public val principal: Output? = null,
public val profileName: Output? = null,
public val profileVersion: Output? = null,
public val statementId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.signer.ProfilePermissionArgs =
com.pulumi.awsnative.signer.ProfilePermissionArgs.builder()
.action(action?.applyValue({ args0 -> args0 }))
.principal(principal?.applyValue({ args0 -> args0 }))
.profileName(profileName?.applyValue({ args0 -> args0 }))
.profileVersion(profileVersion?.applyValue({ args0 -> args0 }))
.statementId(statementId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProfilePermissionArgs].
*/
@PulumiTagMarker
public class ProfilePermissionArgsBuilder internal constructor() {
private var action: Output? = null
private var principal: Output? = null
private var profileName: Output? = null
private var profileVersion: Output? = null
private var statementId: Output? = null
/**
* @param value The AWS Signer action permitted as part of cross-account permissions.
*/
@JvmName("gotfadtsobbavnns")
public suspend fun action(`value`: Output) {
this.action = value
}
/**
* @param value The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
*/
@JvmName("lqsfwvbponppowur")
public suspend fun principal(`value`: Output) {
this.principal = value
}
/**
* @param value The human-readable name of the signing profile.
*/
@JvmName("icbarmpsnbgbtrtc")
public suspend fun profileName(`value`: Output) {
this.profileName = value
}
/**
* @param value The version of the signing profile.
*/
@JvmName("uasxkochmaofsphn")
public suspend fun profileVersion(`value`: Output) {
this.profileVersion = value
}
/**
* @param value A unique identifier for the cross-account permission statement.
*/
@JvmName("uhxrykfcyclvblym")
public suspend fun statementId(`value`: Output) {
this.statementId = value
}
/**
* @param value The AWS Signer action permitted as part of cross-account permissions.
*/
@JvmName("ujmktkirqryulcoq")
public suspend fun action(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.action = mapped
}
/**
* @param value The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
*/
@JvmName("erlcvisnmxgvlcrr")
public suspend fun principal(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.principal = mapped
}
/**
* @param value The human-readable name of the signing profile.
*/
@JvmName("kyqfstkgnwuruyjs")
public suspend fun profileName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.profileName = mapped
}
/**
* @param value The version of the signing profile.
*/
@JvmName("bamxwlptsvodojhs")
public suspend fun profileVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.profileVersion = mapped
}
/**
* @param value A unique identifier for the cross-account permission statement.
*/
@JvmName("nvypnfcxudloiqtm")
public suspend fun statementId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.statementId = mapped
}
internal fun build(): ProfilePermissionArgs = ProfilePermissionArgs(
action = action,
principal = principal,
profileName = profileName,
profileVersion = profileVersion,
statementId = statementId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy