
com.pulumi.awsnative.ecs.kotlin.outputs.ClusterConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.ecs.kotlin.outputs
import kotlin.Suppress
/**
* The execute command configuration for the cluster.
* @property executeCommandConfiguration The details of the execute command configuration.
* @property managedStorageConfiguration The details of the managed storage configuration.
*/
public data class ClusterConfiguration(
public val executeCommandConfiguration: ClusterExecuteCommandConfiguration? = null,
public val managedStorageConfiguration: ClusterManagedStorageConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.ClusterConfiguration): ClusterConfiguration = ClusterConfiguration(
executeCommandConfiguration = javaType.executeCommandConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ecs.kotlin.outputs.ClusterExecuteCommandConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
managedStorageConfiguration = javaType.managedStorageConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ecs.kotlin.outputs.ClusterManagedStorageConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy