![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ses.kotlin.MailManagerRelayArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ses.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.ses.MailManagerRelayArgs.builder
import com.pulumi.awsnative.ses.kotlin.inputs.MailManagerRelayRelayAuthentication0PropertiesArgs
import com.pulumi.awsnative.ses.kotlin.inputs.MailManagerRelayRelayAuthentication1PropertiesArgs
import com.pulumi.core.Either
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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::SES::MailManagerRelay Resource Type
* @property authentication Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
* @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 MailManagerRelayArgs(
public val authentication: Output>? =
null,
public val relayName: Output? = null,
public val serverName: Output? = null,
public val serverPort: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ses.MailManagerRelayArgs =
com.pulumi.awsnative.ses.MailManagerRelayArgs.builder()
.authentication(
authentication?.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.relayName(relayName?.applyValue({ args0 -> args0 }))
.serverName(serverName?.applyValue({ args0 -> args0 }))
.serverPort(serverPort?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MailManagerRelayArgs].
*/
@PulumiTagMarker
public class MailManagerRelayArgsBuilder internal constructor() {
private var authentication:
Output>? =
null
private var relayName: Output? = null
private var serverName: Output? = null
private var serverPort: Output? = null
private var tags: Output>? = null
/**
* @param value Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored.
*/
@JvmName("pajpbwdmqitspidu")
public suspend fun authentication(`value`: Output>) {
this.authentication = value
}
/**
* @param value The unique relay name.
*/
@JvmName("nmuxfkmfctnoqxwe")
public suspend fun relayName(`value`: Output) {
this.relayName = value
}
/**
* @param value The destination relay server address.
*/
@JvmName("wadyemnvkpivtsyu")
public suspend fun serverName(`value`: Output) {
this.serverName = value
}
/**
* @param value The destination relay server port.
*/
@JvmName("swvavepbtwvxitqb")
public suspend fun serverPort(`value`: Output) {
this.serverPort = value
}
/**
* @param value The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/
@JvmName("opoiiwyfaalqrmei")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("xfgoqwetgujingjv")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/
@JvmName("uaxnpqkdbrinduso")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy