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

com.pulumi.gcp.container.kotlin.outputs.GetClusterNotificationConfigPubsub.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.container.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property enabled Whether or not the notification config is enabled
 * @property filters Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent
 * @property topic The pubsub topic to push upgrade notifications to. Must be in the same project as the cluster. Must be in the format: projects/{project}/topics/{topic}.
 */
public data class GetClusterNotificationConfigPubsub(
    public val enabled: Boolean,
    public val filters: List,
    public val topic: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterNotificationConfigPubsub): GetClusterNotificationConfigPubsub = GetClusterNotificationConfigPubsub(
            enabled = javaType.enabled(),
            filters = javaType.filters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.GetClusterNotificationConfigPubsubFilter.Companion.toKotlin(args0)
                })
            }),
            topic = javaType.topic(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy