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

com.pulumi.awsnative.neptunegraph.kotlin.PrivateGraphEndpointArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.neptunegraph.kotlin

import com.pulumi.awsnative.neptunegraph.PrivateGraphEndpointArgs.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

/**
 * The AWS::NeptuneGraph::PrivateGraphEndpoint resource creates an Amazon NeptuneGraph PrivateGraphEndpoint.
 * @property graphIdentifier The auto-generated Graph Id assigned by the service.
 * @property securityGroupIds The security group Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
 * @property subnetIds The subnet Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
 * @property vpcId The VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
 */
public data class PrivateGraphEndpointArgs(
    public val graphIdentifier: Output? = null,
    public val securityGroupIds: Output>? = null,
    public val subnetIds: Output>? = null,
    public val vpcId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.neptunegraph.PrivateGraphEndpointArgs =
        com.pulumi.awsnative.neptunegraph.PrivateGraphEndpointArgs.builder()
            .graphIdentifier(graphIdentifier?.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 [PrivateGraphEndpointArgs].
 */
@PulumiTagMarker
public class PrivateGraphEndpointArgsBuilder internal constructor() {
    private var graphIdentifier: Output? = null

    private var securityGroupIds: Output>? = null

    private var subnetIds: Output>? = null

    private var vpcId: Output? = null

    /**
     * @param value The auto-generated Graph Id assigned by the service.
     */
    @JvmName("afelquggvlpyvrdl")
    public suspend fun graphIdentifier(`value`: Output) {
        this.graphIdentifier = value
    }

    /**
     * @param value The security group Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("lkbhtitpxbvxuibd")
    public suspend fun securityGroupIds(`value`: Output>) {
        this.securityGroupIds = value
    }

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

    /**
     * @param values The security group Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("wqbklwepysydgbih")
    public suspend fun securityGroupIds(values: List>) {
        this.securityGroupIds = Output.all(values)
    }

    /**
     * @param value The subnet Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("fuknkfhkviwbdvea")
    public suspend fun subnetIds(`value`: Output>) {
        this.subnetIds = value
    }

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

    /**
     * @param values The subnet Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("jlvyhrrqyhjwppuf")
    public suspend fun subnetIds(values: List>) {
        this.subnetIds = Output.all(values)
    }

    /**
     * @param value The VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("mbntbyocktqpuynk")
    public suspend fun vpcId(`value`: Output) {
        this.vpcId = value
    }

    /**
     * @param value The auto-generated Graph Id assigned by the service.
     */
    @JvmName("nqyvticqihjrsnem")
    public suspend fun graphIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.graphIdentifier = mapped
    }

    /**
     * @param value The security group Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("unevjxggiwkaqune")
    public suspend fun securityGroupIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param values The security group Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("ollrllaeyhifhikf")
    public suspend fun securityGroupIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param value The subnet Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("usygtnjlpwvftwet")
    public suspend fun subnetIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    /**
     * @param values The subnet Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("haharootlnshopvi")
    public suspend fun subnetIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    /**
     * @param value The VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC.
     */
    @JvmName("fkaxvkruiljrxyvj")
    public suspend fun vpcId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpcId = mapped
    }

    internal fun build(): PrivateGraphEndpointArgs = PrivateGraphEndpointArgs(
        graphIdentifier = graphIdentifier,
        securityGroupIds = securityGroupIds,
        subnetIds = subnetIds,
        vpcId = vpcId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy