
com.pulumi.awsnative.greengrassv2.kotlin.outputs.ComponentVersionLambdaContainerParams.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.greengrassv2.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property devices The list of system devices that the container can access.
* @property memorySizeInKb The memory size of the container, expressed in kilobytes.
* Default: `16384` (16 MB)
* @property mountRoSysfs Whether or not the container can read information from the device's `/sys` folder.
* Default: `false`
* @property volumes The list of volumes that the container can access.
*/
public data class ComponentVersionLambdaContainerParams(
public val devices: List? = null,
public val memorySizeInKb: Int? = null,
public val mountRoSysfs: Boolean? = null,
public val volumes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.greengrassv2.outputs.ComponentVersionLambdaContainerParams): ComponentVersionLambdaContainerParams = ComponentVersionLambdaContainerParams(
devices = javaType.devices().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.greengrassv2.kotlin.outputs.ComponentVersionLambdaDeviceMount.Companion.toKotlin(args0)
})
}),
memorySizeInKb = javaType.memorySizeInKb().map({ args0 -> args0 }).orElse(null),
mountRoSysfs = javaType.mountRoSysfs().map({ args0 -> args0 }).orElse(null),
volumes = javaType.volumes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.greengrassv2.kotlin.outputs.ComponentVersionLambdaVolumeMount.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy