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

com.pulumi.awsnative.shield.kotlin.outputs.GetProactiveEngagementResult.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.shield.kotlin.outputs

import com.pulumi.awsnative.shield.kotlin.enums.ProactiveEngagementStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property accountId The ID of the account that submitted the template.
 * @property emergencyContactList A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support.
 * To enable proactive engagement, the contact list must include at least one phone number.
 * @property proactiveEngagementStatus If `ENABLED`, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.
 * If `DISABLED`, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.
 */
public data class GetProactiveEngagementResult(
    public val accountId: String? = null,
    public val emergencyContactList: List? = null,
    public val proactiveEngagementStatus: ProactiveEngagementStatus? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.shield.outputs.GetProactiveEngagementResult): GetProactiveEngagementResult = GetProactiveEngagementResult(
            accountId = javaType.accountId().map({ args0 -> args0 }).orElse(null),
            emergencyContactList = javaType.emergencyContactList().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.shield.kotlin.outputs.ProactiveEngagementEmergencyContact.Companion.toKotlin(args0)
                })
            }),
            proactiveEngagementStatus = javaType.proactiveEngagementStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.shield.kotlin.enums.ProactiveEngagementStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy