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

com.pulumi.aws.ec2.kotlin.outputs.SpotFleetRequestLaunchSpecificationEbsBlockDevice.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.ec2.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property deleteOnTermination
 * @property deviceName
 * @property encrypted
 * @property iops
 * @property kmsKeyId
 * @property snapshotId
 * @property throughput
 * @property volumeSize
 * @property volumeType
 */
public data class SpotFleetRequestLaunchSpecificationEbsBlockDevice(
    public val deleteOnTermination: Boolean? = null,
    public val deviceName: String,
    public val encrypted: Boolean? = null,
    public val iops: Int? = null,
    public val kmsKeyId: String? = null,
    public val snapshotId: String? = null,
    public val throughput: Int? = null,
    public val volumeSize: Int? = null,
    public val volumeType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.ec2.outputs.SpotFleetRequestLaunchSpecificationEbsBlockDevice): SpotFleetRequestLaunchSpecificationEbsBlockDevice =
            SpotFleetRequestLaunchSpecificationEbsBlockDevice(
                deleteOnTermination = javaType.deleteOnTermination().map({ args0 -> args0 }).orElse(null),
                deviceName = javaType.deviceName(),
                encrypted = javaType.encrypted().map({ args0 -> args0 }).orElse(null),
                iops = javaType.iops().map({ args0 -> args0 }).orElse(null),
                kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
                snapshotId = javaType.snapshotId().map({ args0 -> args0 }).orElse(null),
                throughput = javaType.throughput().map({ args0 -> args0 }).orElse(null),
                volumeSize = javaType.volumeSize().map({ args0 -> args0 }).orElse(null),
                volumeType = javaType.volumeType().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy