![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kafkaconnect.kotlin.inputs.ConnectorVpcArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kafkaconnect.kotlin.inputs
import com.pulumi.awsnative.kafkaconnect.inputs.ConnectorVpcArgs.builder
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
/**
* Information about a VPC used with the connector.
* @property securityGroups The AWS security groups to associate with the elastic network interfaces in order to specify what the connector has access to.
* @property subnets The list of subnets to connect to in the virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets.
*/
public data class ConnectorVpcArgs(
public val securityGroups: Output>,
public val subnets: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kafkaconnect.inputs.ConnectorVpcArgs =
com.pulumi.awsnative.kafkaconnect.inputs.ConnectorVpcArgs.builder()
.securityGroups(securityGroups.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnets(subnets.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ConnectorVpcArgs].
*/
@PulumiTagMarker
public class ConnectorVpcArgsBuilder internal constructor() {
private var securityGroups: Output>? = null
private var subnets: Output>? = null
/**
* @param value The AWS security groups to associate with the elastic network interfaces in order to specify what the connector has access to.
*/
@JvmName("lscklcthsldlrdts")
public suspend fun securityGroups(`value`: Output>) {
this.securityGroups = value
}
@JvmName("rcjyjrbprjwrlusc")
public suspend fun securityGroups(vararg values: Output) {
this.securityGroups = Output.all(values.asList())
}
/**
* @param values The AWS security groups to associate with the elastic network interfaces in order to specify what the connector has access to.
*/
@JvmName("dbudrqnqefdchfpi")
public suspend fun securityGroups(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy