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

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

package com.pulumi.gcp.pubsub.kotlin.outputs

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

/**
 *
 * @property allowedPersistenceRegions A list of IDs of GCP regions where messages that are published to
 * the topic may be persisted in storage. Messages published by
 * publishers running in non-allowed GCP regions (or running outside
 * of GCP altogether) will be routed for storage in one of the
 * allowed regions. An empty list means that no regions are allowed,
 * and is not a valid configuration.
 */
public data class TopicMessageStoragePolicy(
    public val allowedPersistenceRegions: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.pubsub.outputs.TopicMessageStoragePolicy): TopicMessageStoragePolicy = TopicMessageStoragePolicy(
            allowedPersistenceRegions = javaType.allowedPersistenceRegions().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy