All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.rolesanywhere.kotlin.outputs.TrustAnchorNotificationSetting.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.rolesanywhere.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property channel
 * @property configuredBy
 * @property enabled Whether or not the Trust Anchor should be enabled.
 * @property event
 * @property threshold
 */
public data class TrustAnchorNotificationSetting(
    public val channel: String? = null,
    public val configuredBy: String? = null,
    public val enabled: Boolean? = null,
    public val event: String? = null,
    public val threshold: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.rolesanywhere.outputs.TrustAnchorNotificationSetting): TrustAnchorNotificationSetting = TrustAnchorNotificationSetting(
            channel = javaType.channel().map({ args0 -> args0 }).orElse(null),
            configuredBy = javaType.configuredBy().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
            event = javaType.event().map({ args0 -> args0 }).orElse(null),
            threshold = javaType.threshold().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy