com.pulumi.awsnative.ec2.kotlin.TransitGatewayMulticastGroupSourceArgs.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.ec2.kotlin
import com.pulumi.awsnative.ec2.TransitGatewayMulticastGroupSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The AWS::EC2::TransitGatewayMulticastGroupSource registers and deregisters members and sources (network interfaces) with the transit gateway multicast group
* @property groupIpAddress The IP address assigned to the transit gateway multicast group.
* @property networkInterfaceId The ID of the transit gateway attachment.
* @property transitGatewayMulticastDomainId The ID of the transit gateway multicast domain.
*/
public data class TransitGatewayMulticastGroupSourceArgs(
public val groupIpAddress: Output? = null,
public val networkInterfaceId: Output? = null,
public val transitGatewayMulticastDomainId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ec2.TransitGatewayMulticastGroupSourceArgs =
com.pulumi.awsnative.ec2.TransitGatewayMulticastGroupSourceArgs.builder()
.groupIpAddress(groupIpAddress?.applyValue({ args0 -> args0 }))
.networkInterfaceId(networkInterfaceId?.applyValue({ args0 -> args0 }))
.transitGatewayMulticastDomainId(
transitGatewayMulticastDomainId?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [TransitGatewayMulticastGroupSourceArgs].
*/
@PulumiTagMarker
public class TransitGatewayMulticastGroupSourceArgsBuilder internal constructor() {
private var groupIpAddress: Output? = null
private var networkInterfaceId: Output? = null
private var transitGatewayMulticastDomainId: Output? = null
/**
* @param value The IP address assigned to the transit gateway multicast group.
*/
@JvmName("kkaohkcelwvivwil")
public suspend fun groupIpAddress(`value`: Output) {
this.groupIpAddress = value
}
/**
* @param value The ID of the transit gateway attachment.
*/
@JvmName("rnpdbdvyqlmtlciw")
public suspend fun networkInterfaceId(`value`: Output) {
this.networkInterfaceId = value
}
/**
* @param value The ID of the transit gateway multicast domain.
*/
@JvmName("lnoagsxmnbelrxfu")
public suspend fun transitGatewayMulticastDomainId(`value`: Output) {
this.transitGatewayMulticastDomainId = value
}
/**
* @param value The IP address assigned to the transit gateway multicast group.
*/
@JvmName("wdbwrjbpftbbgsgt")
public suspend fun groupIpAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.groupIpAddress = mapped
}
/**
* @param value The ID of the transit gateway attachment.
*/
@JvmName("ggpbayxaghcbbreu")
public suspend fun networkInterfaceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.networkInterfaceId = mapped
}
/**
* @param value The ID of the transit gateway multicast domain.
*/
@JvmName("okgxpxfkqdacmeno")
public suspend fun transitGatewayMulticastDomainId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.transitGatewayMulticastDomainId = mapped
}
internal fun build(): TransitGatewayMulticastGroupSourceArgs =
TransitGatewayMulticastGroupSourceArgs(
groupIpAddress = groupIpAddress,
networkInterfaceId = networkInterfaceId,
transitGatewayMulticastDomainId = transitGatewayMulticastDomainId,
)
}