![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.mediaconnect.kotlin.inputs.FlowVpcInterfaceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediaconnect.kotlin.inputs
import com.pulumi.awsnative.mediaconnect.inputs.FlowVpcInterfaceArgs.builder
import com.pulumi.awsnative.mediaconnect.kotlin.enums.FlowVpcInterfaceNetworkInterfaceType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The details of a VPC interface.
* @property name Immutable and has to be a unique against other VpcInterfaces in this Flow.
* @property networkInterfaceIds IDs of the network interfaces created in customer's account by MediaConnect.
* @property networkInterfaceType The type of network adapter that you want MediaConnect to use on this interface. If you don't set this value, it defaults to ENA.
* @property roleArn Role Arn MediaConnect can assume to create ENIs in customer's account.
* @property securityGroupIds Security Group IDs to be used on ENI.
* @property subnetId Subnet must be in the AZ of the Flow
*/
public data class FlowVpcInterfaceArgs(
public val name: Output,
public val networkInterfaceIds: Output>? = null,
public val networkInterfaceType: Output? = null,
public val roleArn: Output,
public val securityGroupIds: Output>,
public val subnetId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediaconnect.inputs.FlowVpcInterfaceArgs =
com.pulumi.awsnative.mediaconnect.inputs.FlowVpcInterfaceArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.networkInterfaceIds(networkInterfaceIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.networkInterfaceType(
networkInterfaceType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.securityGroupIds(securityGroupIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FlowVpcInterfaceArgs].
*/
@PulumiTagMarker
public class FlowVpcInterfaceArgsBuilder internal constructor() {
private var name: Output? = null
private var networkInterfaceIds: Output>? = null
private var networkInterfaceType: Output? = null
private var roleArn: Output? = null
private var securityGroupIds: Output>? = null
private var subnetId: Output? = null
/**
* @param value Immutable and has to be a unique against other VpcInterfaces in this Flow.
*/
@JvmName("apqrpcydeskkykoo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value IDs of the network interfaces created in customer's account by MediaConnect.
*/
@JvmName("kbkihocwuithbxju")
public suspend fun networkInterfaceIds(`value`: Output>) {
this.networkInterfaceIds = value
}
@JvmName("sdycxtncidajtkpf")
public suspend fun networkInterfaceIds(vararg values: Output) {
this.networkInterfaceIds = Output.all(values.asList())
}
/**
* @param values IDs of the network interfaces created in customer's account by MediaConnect.
*/
@JvmName("jbcoutvuhiubblip")
public suspend fun networkInterfaceIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy