All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.finspace.kotlin.inputs.KxClusterVpcConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.finspace.kotlin.inputs

import com.pulumi.aws.finspace.inputs.KxClusterVpcConfigurationArgs.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 ipAddressType IP address type for cluster network configuration parameters. The following type is available: IP_V4 - IP address version 4.
 * @property securityGroupIds Unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
 * * `subnet_ids `- (Required) Identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
 * @property subnetIds
 * @property vpcId Identifier of the VPC endpoint
 */
public data class KxClusterVpcConfigurationArgs(
    public val ipAddressType: Output,
    public val securityGroupIds: Output>,
    public val subnetIds: Output>,
    public val vpcId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.finspace.inputs.KxClusterVpcConfigurationArgs =
        com.pulumi.aws.finspace.inputs.KxClusterVpcConfigurationArgs.builder()
            .ipAddressType(ipAddressType.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 [KxClusterVpcConfigurationArgs].
 */
@PulumiTagMarker
public class KxClusterVpcConfigurationArgsBuilder internal constructor() {
    private var ipAddressType: Output? = null

    private var securityGroupIds: Output>? = null

    private var subnetIds: Output>? = null

    private var vpcId: Output? = null

    /**
     * @param value IP address type for cluster network configuration parameters. The following type is available: IP_V4 - IP address version 4.
     */
    @JvmName("yndrucmhuhkdriwk")
    public suspend fun ipAddressType(`value`: Output) {
        this.ipAddressType = value
    }

    /**
     * @param value Unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
     * * `subnet_ids `- (Required) Identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
     */
    @JvmName("ceiwnxsnisvlidxs")
    public suspend fun securityGroupIds(`value`: Output>) {
        this.securityGroupIds = value
    }

    @JvmName("ferxvtemojeqhfgm")
    public suspend fun securityGroupIds(vararg values: Output) {
        this.securityGroupIds = Output.all(values.asList())
    }

    /**
     * @param values Unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
     * * `subnet_ids `- (Required) Identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
     */
    @JvmName("ravjpbrcxowclxsd")
    public suspend fun securityGroupIds(values: List>) {
        this.securityGroupIds = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("ofnpxaklyyoeiagg")
    public suspend fun subnetIds(`value`: Output>) {
        this.subnetIds = value
    }

    @JvmName("kxtxfcejngiakbpo")
    public suspend fun subnetIds(vararg values: Output) {
        this.subnetIds = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("rgmfwlhljknhxqxw")
    public suspend fun subnetIds(values: List>) {
        this.subnetIds = Output.all(values)
    }

    /**
     * @param value Identifier of the VPC endpoint
     */
    @JvmName("txapehbpunqmjsmb")
    public suspend fun vpcId(`value`: Output) {
        this.vpcId = value
    }

    /**
     * @param value IP address type for cluster network configuration parameters. The following type is available: IP_V4 - IP address version 4.
     */
    @JvmName("uqpobtvqudfvscbj")
    public suspend fun ipAddressType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipAddressType = mapped
    }

    /**
     * @param value Unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
     * * `subnet_ids `- (Required) Identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
     */
    @JvmName("nfktxmebwvuqjrhd")
    public suspend fun securityGroupIds(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param values Unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
     * * `subnet_ids `- (Required) Identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
     */
    @JvmName("fqcpxghmnmlgstib")
    public suspend fun securityGroupIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param value
     */
    @JvmName("wsxhumootfauehrt")
    public suspend fun subnetIds(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    /**
     * @param values
     */
    @JvmName("wumusucwxxlonxlh")
    public suspend fun subnetIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    /**
     * @param value Identifier of the VPC endpoint
     */
    @JvmName("uaybdcnyyekxtnkh")
    public suspend fun vpcId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.vpcId = mapped
    }

    internal fun build(): KxClusterVpcConfigurationArgs = KxClusterVpcConfigurationArgs(
        ipAddressType = ipAddressType ?: throw PulumiNullFieldException("ipAddressType"),
        securityGroupIds = securityGroupIds ?: throw PulumiNullFieldException("securityGroupIds"),
        subnetIds = subnetIds ?: throw PulumiNullFieldException("subnetIds"),
        vpcId = vpcId ?: throw PulumiNullFieldException("vpcId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy