![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kendra.kotlin.inputs.DataSourceVpcConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.inputs
import com.pulumi.awsnative.kendra.inputs.DataSourceVpcConfigurationArgs.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
/**
*
* @property securityGroupIds A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.
* @property subnetIds A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
*/
public data class DataSourceVpcConfigurationArgs(
public val securityGroupIds: Output>,
public val subnetIds: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kendra.inputs.DataSourceVpcConfigurationArgs =
com.pulumi.awsnative.kendra.inputs.DataSourceVpcConfigurationArgs.builder()
.securityGroupIds(securityGroupIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DataSourceVpcConfigurationArgs].
*/
@PulumiTagMarker
public class DataSourceVpcConfigurationArgsBuilder internal constructor() {
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
/**
* @param value A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.
*/
@JvmName("pcvhvisomyvgrpjf")
public suspend fun securityGroupIds(`value`: Output>) {
this.securityGroupIds = value
}
@JvmName("xwpxtvprkfxbcsxk")
public suspend fun securityGroupIds(vararg values: Output) {
this.securityGroupIds = Output.all(values.asList())
}
/**
* @param values A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.
*/
@JvmName("vkxlveffrpkdypfc")
public suspend fun securityGroupIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy