![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ses.kotlin.outputs.GetMailManagerRelayResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ses.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.core.Either
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property authentication Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
* @property relayArn The Amazon Resource Name (ARN) of the relay.
* @property relayId The unique relay identifier.
* @property relayName The unique relay name.
* @property serverName The destination relay server address.
* @property serverPort The destination relay server port.
* @property tags The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/
public data class GetMailManagerRelayResult(
public val authentication: Either? =
null,
public val relayArn: String? = null,
public val relayId: String? = null,
public val relayName: String? = null,
public val serverName: String? = null,
public val serverPort: Double? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ses.outputs.GetMailManagerRelayResult): GetMailManagerRelayResult = GetMailManagerRelayResult(
authentication = javaType.authentication().map({ args0 ->
args0.transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.outputs.MailManagerRelayRelayAuthentication0Properties.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ses.kotlin.outputs.MailManagerRelayRelayAuthentication1Properties.Companion.toKotlin(args0)
})
},
)
}).orElse(null),
relayArn = javaType.relayArn().map({ args0 -> args0 }).orElse(null),
relayId = javaType.relayId().map({ args0 -> args0 }).orElse(null),
relayName = javaType.relayName().map({ args0 -> args0 }).orElse(null),
serverName = javaType.serverName().map({ args0 -> args0 }).orElse(null),
serverPort = javaType.serverPort().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy