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

com.pulumi.aws.m2.kotlin.inputs.EnvironmentStorageConfigurationEfsArgs.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.m2.kotlin.inputs

import com.pulumi.aws.m2.inputs.EnvironmentStorageConfigurationEfsArgs.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.jvm.JvmName

/**
 *
 * @property fileSystemId Id of the EFS filesystem to mount.
 * @property mountPoint Path to mount the filesystem on, must start with `/m2/mount/`.
 */
public data class EnvironmentStorageConfigurationEfsArgs(
    public val fileSystemId: Output,
    public val mountPoint: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.m2.inputs.EnvironmentStorageConfigurationEfsArgs =
        com.pulumi.aws.m2.inputs.EnvironmentStorageConfigurationEfsArgs.builder()
            .fileSystemId(fileSystemId.applyValue({ args0 -> args0 }))
            .mountPoint(mountPoint.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EnvironmentStorageConfigurationEfsArgs].
 */
@PulumiTagMarker
public class EnvironmentStorageConfigurationEfsArgsBuilder internal constructor() {
    private var fileSystemId: Output? = null

    private var mountPoint: Output? = null

    /**
     * @param value Id of the EFS filesystem to mount.
     */
    @JvmName("lwlflsxurnatavhu")
    public suspend fun fileSystemId(`value`: Output) {
        this.fileSystemId = value
    }

    /**
     * @param value Path to mount the filesystem on, must start with `/m2/mount/`.
     */
    @JvmName("lkucenvrngitwnai")
    public suspend fun mountPoint(`value`: Output) {
        this.mountPoint = value
    }

    /**
     * @param value Id of the EFS filesystem to mount.
     */
    @JvmName("pchufevgmljftlyu")
    public suspend fun fileSystemId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fileSystemId = mapped
    }

    /**
     * @param value Path to mount the filesystem on, must start with `/m2/mount/`.
     */
    @JvmName("xumcgfvxdgwdqqvr")
    public suspend fun mountPoint(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.mountPoint = mapped
    }

    internal fun build(): EnvironmentStorageConfigurationEfsArgs =
        EnvironmentStorageConfigurationEfsArgs(
            fileSystemId = fileSystemId ?: throw PulumiNullFieldException("fileSystemId"),
            mountPoint = mountPoint ?: throw PulumiNullFieldException("mountPoint"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy