com.pulumi.aws.opsworks.kotlin.inputs.NodejsAppLayerEbsVolumeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.opsworks.kotlin.inputs
import com.pulumi.aws.opsworks.inputs.NodejsAppLayerEbsVolumeArgs.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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property encrypted
* @property iops For PIOPS volumes, the IOPS per disk.
* @property mountPoint The path to mount the EBS volume on the layer's instances.
* @property numberOfDisks The number of disks to use for the EBS volume.
* @property raidLevel The RAID level to use for the volume.
* @property size The size of the volume in gigabytes.
* @property type The type of volume to create. This may be `standard` (the default), `io1` or `gp2`.
*/
public data class NodejsAppLayerEbsVolumeArgs(
public val encrypted: Output? = null,
public val iops: Output? = null,
public val mountPoint: Output,
public val numberOfDisks: Output,
public val raidLevel: Output? = null,
public val size: Output,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.opsworks.inputs.NodejsAppLayerEbsVolumeArgs =
com.pulumi.aws.opsworks.inputs.NodejsAppLayerEbsVolumeArgs.builder()
.encrypted(encrypted?.applyValue({ args0 -> args0 }))
.iops(iops?.applyValue({ args0 -> args0 }))
.mountPoint(mountPoint.applyValue({ args0 -> args0 }))
.numberOfDisks(numberOfDisks.applyValue({ args0 -> args0 }))
.raidLevel(raidLevel?.applyValue({ args0 -> args0 }))
.size(size.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NodejsAppLayerEbsVolumeArgs].
*/
@PulumiTagMarker
public class NodejsAppLayerEbsVolumeArgsBuilder internal constructor() {
private var encrypted: Output? = null
private var iops: Output? = null
private var mountPoint: Output? = null
private var numberOfDisks: Output? = null
private var raidLevel: Output? = null
private var size: Output? = null
private var type: Output? = null
/**
* @param value
*/
@JvmName("ukouqfaybksuqyij")
public suspend fun encrypted(`value`: Output) {
this.encrypted = value
}
/**
* @param value For PIOPS volumes, the IOPS per disk.
*/
@JvmName("imfikwhbdavfumna")
public suspend fun iops(`value`: Output) {
this.iops = value
}
/**
* @param value The path to mount the EBS volume on the layer's instances.
*/
@JvmName("rtdqunnhtxlwryaf")
public suspend fun mountPoint(`value`: Output) {
this.mountPoint = value
}
/**
* @param value The number of disks to use for the EBS volume.
*/
@JvmName("womvcclvmvtkhhjg")
public suspend fun numberOfDisks(`value`: Output) {
this.numberOfDisks = value
}
/**
* @param value The RAID level to use for the volume.
*/
@JvmName("mycnhsomvklvsdhk")
public suspend fun raidLevel(`value`: Output) {
this.raidLevel = value
}
/**
* @param value The size of the volume in gigabytes.
*/
@JvmName("dqqjhiivqhwumsod")
public suspend fun size(`value`: Output) {
this.size = value
}
/**
* @param value The type of volume to create. This may be `standard` (the default), `io1` or `gp2`.
*/
@JvmName("tlhkbjdvohobjgye")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value
*/
@JvmName("jbqxavhkxidhdjbd")
public suspend fun encrypted(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encrypted = mapped
}
/**
* @param value For PIOPS volumes, the IOPS per disk.
*/
@JvmName("wjooykvcmxoanujx")
public suspend fun iops(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iops = mapped
}
/**
* @param value The path to mount the EBS volume on the layer's instances.
*/
@JvmName("xuxvmlrxbunmnlhv")
public suspend fun mountPoint(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mountPoint = mapped
}
/**
* @param value The number of disks to use for the EBS volume.
*/
@JvmName("trpdmjoxmfrpshie")
public suspend fun numberOfDisks(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.numberOfDisks = mapped
}
/**
* @param value The RAID level to use for the volume.
*/
@JvmName("exwlfvcfnjxglctg")
public suspend fun raidLevel(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.raidLevel = mapped
}
/**
* @param value The size of the volume in gigabytes.
*/
@JvmName("jnjcungakfqrcxjv")
public suspend fun size(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.size = mapped
}
/**
* @param value The type of volume to create. This may be `standard` (the default), `io1` or `gp2`.
*/
@JvmName("imqsnomnkokyhuid")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): NodejsAppLayerEbsVolumeArgs = NodejsAppLayerEbsVolumeArgs(
encrypted = encrypted,
iops = iops,
mountPoint = mountPoint ?: throw PulumiNullFieldException("mountPoint"),
numberOfDisks = numberOfDisks ?: throw PulumiNullFieldException("numberOfDisks"),
raidLevel = raidLevel,
size = size ?: throw PulumiNullFieldException("size"),
type = type,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy