
com.pulumi.awsnative.rolesanywhere.kotlin.TrustAnchorArgs.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.rolesanywhere.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.rolesanywhere.TrustAnchorArgs.builder
import com.pulumi.awsnative.rolesanywhere.kotlin.inputs.TrustAnchorNotificationSettingArgs
import com.pulumi.awsnative.rolesanywhere.kotlin.inputs.TrustAnchorNotificationSettingArgsBuilder
import com.pulumi.awsnative.rolesanywhere.kotlin.inputs.TrustAnchorSourceArgs
import com.pulumi.awsnative.rolesanywhere.kotlin.inputs.TrustAnchorSourceArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::RolesAnywhere::TrustAnchor Resource Type.
* @property enabled Indicates whether the trust anchor is enabled.
* @property name The name of the trust anchor.
* @property notificationSettings A list of notification settings to be associated to the trust anchor.
* @property source The trust anchor type and its related certificate data.
* @property tags The tags to attach to the trust anchor.
*/
public data class TrustAnchorArgs(
public val enabled: Output? = null,
public val name: Output? = null,
public val notificationSettings: Output>? = null,
public val source: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rolesanywhere.TrustAnchorArgs =
com.pulumi.awsnative.rolesanywhere.TrustAnchorArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.notificationSettings(
notificationSettings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.source(source?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TrustAnchorArgs].
*/
@PulumiTagMarker
public class TrustAnchorArgsBuilder internal constructor() {
private var enabled: Output? = null
private var name: Output? = null
private var notificationSettings: Output>? = null
private var source: Output? = null
private var tags: Output>? = null
/**
* @param value Indicates whether the trust anchor is enabled.
*/
@JvmName("uyddsonmfmjbvnjv")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value The name of the trust anchor.
*/
@JvmName("qxgxncyaqfietisg")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A list of notification settings to be associated to the trust anchor.
*/
@JvmName("takylesuonkidhsw")
public suspend fun notificationSettings(`value`: Output>) {
this.notificationSettings = value
}
@JvmName("ydiytdqbvleowdre")
public suspend fun notificationSettings(vararg values: Output) {
this.notificationSettings = Output.all(values.asList())
}
/**
* @param values A list of notification settings to be associated to the trust anchor.
*/
@JvmName("qjebuxlkyylckexc")
public suspend fun notificationSettings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy