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

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

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

import kotlin.String
import kotlin.Suppress

/**
 * An emergency contact is used by Shield Response Team (SRT) to contact you for escalations to the SRT and to initiate proactive customer support. An emergency contact requires an email address.
 * @property contactNotes Additional notes regarding the contact.
 * @property emailAddress The email address for the contact.
 * @property phoneNumber The phone number for the contact
 */
public data class ProactiveEngagementEmergencyContact(
    public val contactNotes: String? = null,
    public val emailAddress: String,
    public val phoneNumber: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.shield.outputs.ProactiveEngagementEmergencyContact): ProactiveEngagementEmergencyContact = ProactiveEngagementEmergencyContact(
            contactNotes = javaType.contactNotes().map({ args0 -> args0 }).orElse(null),
            emailAddress = javaType.emailAddress(),
            phoneNumber = javaType.phoneNumber().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy