![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.opensearchserverless.kotlin.VpcEndpointArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.opensearchserverless.kotlin
import com.pulumi.awsnative.opensearchserverless.VpcEndpointArgs.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.collections.List
import kotlin.jvm.JvmName
/**
* Amazon OpenSearchServerless vpc endpoint resource
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property name The name of the VPC Endpoint
* @property securityGroupIds The ID of one or more security groups to associate with the endpoint network interface
* @property subnetIds The ID of one or more subnets in which to create an endpoint network interface
* @property vpcId The ID of the VPC in which the endpoint will be used.
*/
public data class VpcEndpointArgs(
public val name: Output? = null,
public val securityGroupIds: Output>? = null,
public val subnetIds: Output>? = null,
public val vpcId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.opensearchserverless.VpcEndpointArgs =
com.pulumi.awsnative.opensearchserverless.VpcEndpointArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VpcEndpointArgs].
*/
@PulumiTagMarker
public class VpcEndpointArgsBuilder internal constructor() {
private var name: Output? = null
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
private var vpcId: Output? = null
/**
* @param value The name of the VPC Endpoint
*/
@JvmName("dbrjmfprleqmcfbx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ID of one or more security groups to associate with the endpoint network interface
*/
@JvmName("gnffjauttwvhxmci")
public suspend fun securityGroupIds(`value`: Output>) {
this.securityGroupIds = value
}
@JvmName("mahxypljpunerphv")
public suspend fun securityGroupIds(vararg values: Output) {
this.securityGroupIds = Output.all(values.asList())
}
/**
* @param values The ID of one or more security groups to associate with the endpoint network interface
*/
@JvmName("gkexrlwyrlagklsu")
public suspend fun securityGroupIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy