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

com.pulumi.awsnative.s3.kotlin.inputs.AccessPointVpcConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.s3.kotlin.inputs

import com.pulumi.awsnative.s3.inputs.AccessPointVpcConfigurationArgs.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.jvm.JvmName

/**
 * The Virtual Private Cloud (VPC) configuration for a bucket access point.
 * @property vpcId If this field is specified, this access point will only allow connections from the specified VPC ID.
 */
public data class AccessPointVpcConfigurationArgs(
    public val vpcId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.s3.inputs.AccessPointVpcConfigurationArgs =
        com.pulumi.awsnative.s3.inputs.AccessPointVpcConfigurationArgs.builder()
            .vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AccessPointVpcConfigurationArgs].
 */
@PulumiTagMarker
public class AccessPointVpcConfigurationArgsBuilder internal constructor() {
    private var vpcId: Output? = null

    /**
     * @param value If this field is specified, this access point will only allow connections from the specified VPC ID.
     */
    @JvmName("eixxymkdlfyddouh")
    public suspend fun vpcId(`value`: Output) {
        this.vpcId = value
    }

    /**
     * @param value If this field is specified, this access point will only allow connections from the specified VPC ID.
     */
    @JvmName("qtteponyqtjrxluc")
    public suspend fun vpcId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpcId = mapped
    }

    internal fun build(): AccessPointVpcConfigurationArgs = AccessPointVpcConfigurationArgs(
        vpcId = vpcId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy