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

com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigSoftwareConfig.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property imageVersion The Cloud Dataproc image version to use
 * for the cluster - this controls the sets of software versions
 * installed onto the nodes when you create clusters. If not specified, defaults to the
 * latest version. For a list of valid versions see
 * [Cloud Dataproc versions](https://cloud.google.com/dataproc/docs/concepts/dataproc-versions)
 * @property optionalComponents The set of optional components to activate on the cluster. See [Available Optional Components](https://cloud.google.com/dataproc/docs/concepts/components/overview#available_optional_components).
 * - - -
 * @property overrideProperties A list of override and additional properties (key/value pairs)
 * used to modify various aspects of the common configuration files used when creating
 * a cluster. For a list of valid properties please see
 * [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties)
 * @property properties A list of the properties used to set the daemon config files.
 * This will include any values supplied by the user via `cluster_config.software_config.override_properties`
 */
public data class ClusterClusterConfigSoftwareConfig(
    public val imageVersion: String? = null,
    public val optionalComponents: List? = null,
    public val overrideProperties: Map? = null,
    public val properties: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigSoftwareConfig): ClusterClusterConfigSoftwareConfig = ClusterClusterConfigSoftwareConfig(
            imageVersion = javaType.imageVersion().map({ args0 -> args0 }).orElse(null),
            optionalComponents = javaType.optionalComponents().map({ args0 -> args0 }),
            overrideProperties = javaType.overrideProperties().map({ args0 ->
                args0.key.to(args0.value)
            }).toMap(),
            properties = javaType.properties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy