com.pulumi.gcp.pubsub.kotlin.outputs.TopicIngestionDataSourceSettings.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.Suppress
/**
*
* @property awsKinesis Settings for ingestion from Amazon Kinesis Data Streams.
* Structure is documented below.
* @property cloudStorage Settings for ingestion from Cloud Storage.
* Structure is documented below.
* @property platformLogsSettings Settings for Platform Logs regarding ingestion to Pub/Sub. If unset,
* no Platform Logs will be generated.'
* Structure is documented below.
*/
public data class TopicIngestionDataSourceSettings(
public val awsKinesis: TopicIngestionDataSourceSettingsAwsKinesis? = null,
public val cloudStorage: TopicIngestionDataSourceSettingsCloudStorage? = null,
public val platformLogsSettings: TopicIngestionDataSourceSettingsPlatformLogsSettings? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.pubsub.outputs.TopicIngestionDataSourceSettings): TopicIngestionDataSourceSettings = TopicIngestionDataSourceSettings(
awsKinesis = javaType.awsKinesis().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.pubsub.kotlin.outputs.TopicIngestionDataSourceSettingsAwsKinesis.Companion.toKotlin(args0)
})
}).orElse(null),
cloudStorage = javaType.cloudStorage().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.pubsub.kotlin.outputs.TopicIngestionDataSourceSettingsCloudStorage.Companion.toKotlin(args0)
})
}).orElse(null),
platformLogsSettings = javaType.platformLogsSettings().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.pubsub.kotlin.outputs.TopicIngestionDataSourceSettingsPlatformLogsSettings.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy