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

com.pulumi.aws.apprunner.kotlin.inputs.ServiceNetworkConfigurationIngressConfigurationArgs.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.apprunner.kotlin.inputs

import com.pulumi.aws.apprunner.inputs.ServiceNetworkConfigurationIngressConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property isPubliclyAccessible Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
 */
public data class ServiceNetworkConfigurationIngressConfigurationArgs(
    public val isPubliclyAccessible: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.apprunner.inputs.ServiceNetworkConfigurationIngressConfigurationArgs =
        com.pulumi.aws.apprunner.inputs.ServiceNetworkConfigurationIngressConfigurationArgs.builder()
            .isPubliclyAccessible(isPubliclyAccessible?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServiceNetworkConfigurationIngressConfigurationArgs].
 */
@PulumiTagMarker
public class ServiceNetworkConfigurationIngressConfigurationArgsBuilder internal constructor() {
    private var isPubliclyAccessible: Output? = null

    /**
     * @param value Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
     */
    @JvmName("junvekmgpnsofbwq")
    public suspend fun isPubliclyAccessible(`value`: Output) {
        this.isPubliclyAccessible = value
    }

    /**
     * @param value Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
     */
    @JvmName("qiruqakirghshdmc")
    public suspend fun isPubliclyAccessible(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isPubliclyAccessible = mapped
    }

    internal fun build(): ServiceNetworkConfigurationIngressConfigurationArgs =
        ServiceNetworkConfigurationIngressConfigurationArgs(
            isPubliclyAccessible = isPubliclyAccessible,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy