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

com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamIcebergConfigurationDestinationTableConfiguration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.kinesis.kotlin.outputs

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

/**
 *
 * @property databaseName The name of the Apache Iceberg database.
 * @property s3ErrorOutputPrefix The table specific S3 error output prefix. All the errors that occurred while delivering to this table will be prefixed with this value in S3 destination.
 * @property tableName The name of the Apache Iceberg Table.
 * @property uniqueKeys A list of unique keys for a given Apache Iceberg table. Firehose will use these for running Create, Update, or Delete operations on the given Iceberg table.
 */
public data class FirehoseDeliveryStreamIcebergConfigurationDestinationTableConfiguration(
    public val databaseName: String,
    public val s3ErrorOutputPrefix: String? = null,
    public val tableName: String,
    public val uniqueKeys: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamIcebergConfigurationDestinationTableConfiguration): FirehoseDeliveryStreamIcebergConfigurationDestinationTableConfiguration =
            FirehoseDeliveryStreamIcebergConfigurationDestinationTableConfiguration(
                databaseName = javaType.databaseName(),
                s3ErrorOutputPrefix = javaType.s3ErrorOutputPrefix().map({ args0 -> args0 }).orElse(null),
                tableName = javaType.tableName(),
                uniqueKeys = javaType.uniqueKeys().map({ args0 -> args0 }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy