
com.pulumi.awsnative.detective.kotlin.MemberInvitationArgs.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.detective.kotlin
import com.pulumi.awsnative.detective.MemberInvitationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::Detective::MemberInvitation
* @property disableEmailNotification When set to true, invitation emails are not sent to the member accounts. Member accounts must still accept the invitation before they are added to the behavior graph. Updating this field has no effect.
* @property graphArn The ARN of the graph to which the member account will be invited
* @property memberEmailAddress The root email address for the account to be invited, for validation. Updating this field has no effect.
* @property memberId The AWS account ID to be invited to join the graph as a member
* @property message A message to be included in the email invitation sent to the invited account. Updating this field has no effect.
*/
public data class MemberInvitationArgs(
public val disableEmailNotification: Output? = null,
public val graphArn: Output? = null,
public val memberEmailAddress: Output? = null,
public val memberId: Output? = null,
public val message: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.detective.MemberInvitationArgs =
com.pulumi.awsnative.detective.MemberInvitationArgs.builder()
.disableEmailNotification(disableEmailNotification?.applyValue({ args0 -> args0 }))
.graphArn(graphArn?.applyValue({ args0 -> args0 }))
.memberEmailAddress(memberEmailAddress?.applyValue({ args0 -> args0 }))
.memberId(memberId?.applyValue({ args0 -> args0 }))
.message(message?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MemberInvitationArgs].
*/
@PulumiTagMarker
public class MemberInvitationArgsBuilder internal constructor() {
private var disableEmailNotification: Output? = null
private var graphArn: Output? = null
private var memberEmailAddress: Output? = null
private var memberId: Output? = null
private var message: Output? = null
/**
* @param value When set to true, invitation emails are not sent to the member accounts. Member accounts must still accept the invitation before they are added to the behavior graph. Updating this field has no effect.
*/
@JvmName("ihmvdpxgygjgphqf")
public suspend fun disableEmailNotification(`value`: Output) {
this.disableEmailNotification = value
}
/**
* @param value The ARN of the graph to which the member account will be invited
*/
@JvmName("loplblrjsrsxjdpa")
public suspend fun graphArn(`value`: Output) {
this.graphArn = value
}
/**
* @param value The root email address for the account to be invited, for validation. Updating this field has no effect.
*/
@JvmName("pcahsuhjvklmhryg")
public suspend fun memberEmailAddress(`value`: Output) {
this.memberEmailAddress = value
}
/**
* @param value The AWS account ID to be invited to join the graph as a member
*/
@JvmName("ydfuuafnvgerqxlj")
public suspend fun memberId(`value`: Output) {
this.memberId = value
}
/**
* @param value A message to be included in the email invitation sent to the invited account. Updating this field has no effect.
*/
@JvmName("jsqrsvietlcbawoh")
public suspend fun message(`value`: Output) {
this.message = value
}
/**
* @param value When set to true, invitation emails are not sent to the member accounts. Member accounts must still accept the invitation before they are added to the behavior graph. Updating this field has no effect.
*/
@JvmName("uudgkrgjuoqytint")
public suspend fun disableEmailNotification(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disableEmailNotification = mapped
}
/**
* @param value The ARN of the graph to which the member account will be invited
*/
@JvmName("wcaifwntnoqfdrvv")
public suspend fun graphArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.graphArn = mapped
}
/**
* @param value The root email address for the account to be invited, for validation. Updating this field has no effect.
*/
@JvmName("biqjerehnmtwgpkd")
public suspend fun memberEmailAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.memberEmailAddress = mapped
}
/**
* @param value The AWS account ID to be invited to join the graph as a member
*/
@JvmName("gbmwtskyavcxkifm")
public suspend fun memberId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.memberId = mapped
}
/**
* @param value A message to be included in the email invitation sent to the invited account. Updating this field has no effect.
*/
@JvmName("gqlfqsnmspbrsmns")
public suspend fun message(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.message = mapped
}
internal fun build(): MemberInvitationArgs = MemberInvitationArgs(
disableEmailNotification = disableEmailNotification,
graphArn = graphArn,
memberEmailAddress = memberEmailAddress,
memberId = memberId,
message = message,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy