com.pulumi.gcp.pubsub.kotlin.outputs.GetTopicMessageStoragePolicy.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.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 GetTopicMessageStoragePolicy(
public val allowedPersistenceRegions: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.pubsub.outputs.GetTopicMessageStoragePolicy): GetTopicMessageStoragePolicy = GetTopicMessageStoragePolicy(
allowedPersistenceRegions = javaType.allowedPersistenceRegions().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy