com.pulumi.gcp.dataproc.kotlin.outputs.ClusterClusterConfigEndpointConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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