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

com.pulumi.gcp.dataplex.kotlin.outputs.TaskSparkInfrastructureSpecContainerImage.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.dataplex.kotlin.outputs

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

/**
 *
 * @property image Container image to use.
 * @property javaJars A list of Java JARS to add to the classpath. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar
 * @property properties Override to common configuration of open source components installed on the Dataproc cluster. The properties to set on daemon config files. Property keys are specified in prefix:property format, for example core:hadoop.tmp.dir. For more information, see Cluster properties.
 * @property pythonPackages A list of python packages to be installed. Valid formats include Cloud Storage URI to a PIP installable library. For example, gs://bucket-name/my/path/to/lib.tar.gz
 */
public data class TaskSparkInfrastructureSpecContainerImage(
    public val image: String? = null,
    public val javaJars: List? = null,
    public val properties: Map? = null,
    public val pythonPackages: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.TaskSparkInfrastructureSpecContainerImage): TaskSparkInfrastructureSpecContainerImage = TaskSparkInfrastructureSpecContainerImage(
            image = javaType.image().map({ args0 -> args0 }).orElse(null),
            javaJars = javaType.javaJars().map({ args0 -> args0 }),
            properties = javaType.properties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            pythonPackages = javaType.pythonPackages().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy