com.pulumi.awsnative.ses.kotlin.MailManagerIngressPointArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.MailManagerIngressPointArgs.builder
import com.pulumi.awsnative.ses.kotlin.enums.MailManagerIngressPointIngressPointStatusToUpdate
import com.pulumi.awsnative.ses.kotlin.enums.MailManagerIngressPointIngressPointType
import com.pulumi.awsnative.ses.kotlin.inputs.MailManagerIngressPointIngressPointConfiguration0PropertiesArgs
import com.pulumi.awsnative.ses.kotlin.inputs.MailManagerIngressPointIngressPointConfiguration1PropertiesArgs
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::SES::MailManagerIngressPoint Resource Type
* @property ingressPointConfiguration The configuration of the ingress endpoint resource.
* @property ingressPointName A user friendly name for an ingress endpoint resource.
* @property ruleSetId The identifier of an existing rule set that you attach to an ingress endpoint resource.
* @property statusToUpdate The update status of an ingress endpoint.
* @property tags The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
* @property trafficPolicyId The identifier of an existing traffic policy that you attach to an ingress endpoint resource.
* @property type The type of the ingress endpoint to create.
*/
public data class MailManagerIngressPointArgs(
public val ingressPointConfiguration: Output>? =
null,
public val ingressPointName: Output? = null,
public val ruleSetId: Output? = null,
public val statusToUpdate: Output? = null,
public val tags: Output>? = null,
public val trafficPolicyId: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ses.MailManagerIngressPointArgs =
com.pulumi.awsnative.ses.MailManagerIngressPointArgs.builder()
.ingressPointConfiguration(
ingressPointConfiguration?.applyValue({ args0 ->
args0.transform({ args0 -> args0.let({ args0 -> args0.toJava() }) }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.ingressPointName(ingressPointName?.applyValue({ args0 -> args0 }))
.ruleSetId(ruleSetId?.applyValue({ args0 -> args0 }))
.statusToUpdate(statusToUpdate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.trafficPolicyId(trafficPolicyId?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [MailManagerIngressPointArgs].
*/
@PulumiTagMarker
public class MailManagerIngressPointArgsBuilder internal constructor() {
private var ingressPointConfiguration:
Output>? =
null
private var ingressPointName: Output? = null
private var ruleSetId: Output? = null
private var statusToUpdate: Output? = null
private var tags: Output>? = null
private var trafficPolicyId: Output? = null
private var type: Output? = null
/**
* @param value The configuration of the ingress endpoint resource.
*/
@JvmName("mstykebhtvwiojkj")
public suspend fun ingressPointConfiguration(`value`: Output>) {
this.ingressPointConfiguration = value
}
/**
* @param value A user friendly name for an ingress endpoint resource.
*/
@JvmName("fnclywpvdkahfwpk")
public suspend fun ingressPointName(`value`: Output) {
this.ingressPointName = value
}
/**
* @param value The identifier of an existing rule set that you attach to an ingress endpoint resource.
*/
@JvmName("dcjaewsqesfylcdp")
public suspend fun ruleSetId(`value`: Output) {
this.ruleSetId = value
}
/**
* @param value The update status of an ingress endpoint.
*/
@JvmName("yvxbbbgunhgkycsl")
public suspend fun statusToUpdate(`value`: Output) {
this.statusToUpdate = value
}
/**
* @param value The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/
@JvmName("jjiaohmdefpkymap")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("yiocrfxyjtpaqmus")
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("kcgjilpdryskoevq")
public suspend fun tags(values: List