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

com.pulumi.awsnative.neptunegraph.kotlin.PrivateGraphEndpointArgs.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: 1.24.0.0
Show newest version
@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("rwljfpexgdyqsqwg")
    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("rrsxghujnohxaxmq")
    public suspend fun securityGroupIds(`value`: Output>) {
        this.securityGroupIds = value
    }

    @JvmName("xpidotkvynrfskok")
    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("srcxqmdomomjacfl")
    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("floscslarcsxpfjs")
    public suspend fun subnetIds(`value`: Output>) {
        this.subnetIds = value
    }

    @JvmName("ccirlwtylxdnnucg")
    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("pjhqbrestscleipx")
    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("brqrxcbtbvajaicm")
    public suspend fun vpcId(`value`: Output) {
        this.vpcId = value
    }

    /**
     * @param value The auto-generated Graph Id assigned by the service.
     */
    @JvmName("oowuxncrelqcnkrj")
    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("rmmulohhncavjyfs")
    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("ncjcvyyghronjqbd")
    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("duuwgtjmrymlskrj")
    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("voudlkspskqnqphf")
    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("cygcgibfhxcamfci")
    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