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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.ecs.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property executeCommandConfiguration Details of the execute command configuration. See `execute_command_configuration` Block for details.
 * @property managedStorageConfiguration Details of the managed storage configuration. See `managed_storage_configuration` Block for details.
 */
public data class ClusterConfiguration(
    public val executeCommandConfiguration: ClusterConfigurationExecuteCommandConfiguration? = null,
    public val managedStorageConfiguration: ClusterConfigurationManagedStorageConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.ecs.outputs.ClusterConfiguration): ClusterConfiguration = ClusterConfiguration(
            executeCommandConfiguration = javaType.executeCommandConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.ecs.kotlin.outputs.ClusterConfigurationExecuteCommandConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            managedStorageConfiguration = javaType.managedStorageConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.ecs.kotlin.outputs.ClusterConfigurationManagedStorageConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy