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

com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigEndpointConfig.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property enableHttpPortAccess The flag to enable http access to specific ports
 * on the cluster from external sources (aka Component Gateway). Defaults to false.
 * @property httpPorts The map of port descriptions to URLs. Will only be populated if
 * `enable_http_port_access` is true.
 */
public data class ClusterClusterConfigEndpointConfig(
    public val enableHttpPortAccess: Boolean,
    public val httpPorts: Map? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.ClusterClusterConfigEndpointConfig): ClusterClusterConfigEndpointConfig = ClusterClusterConfigEndpointConfig(
            enableHttpPortAccess = javaType.enableHttpPortAccess(),
            httpPorts = javaType.httpPorts().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy