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

com.pulumi.awsnative.ecs.kotlin.outputs.ClusterConfiguration.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ecs.kotlin.outputs

import kotlin.Suppress

/**
 * The execute command and managed storage 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