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

com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamIcebergConfiguration.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property bufferingInterval Buffer incoming data for the specified period of time, in seconds between 0 and 900, before delivering it to the destination. The default value is 300.
 * @property bufferingSize Buffer incoming data to the specified size, in MBs between 1 and 128, before delivering it to the destination. The default value is 5.
 * @property catalogArn Glue catalog ARN identifier of the destination Apache Iceberg Tables. You must specify the ARN in the format `arn:aws:glue:region:account-id:catalog`
 * @property cloudwatchLoggingOptions The CloudWatch Logging Options for the delivery stream. See `cloudwatch_logging_options` block below for details.
 * @property destinationTableConfigurations Destination table configurations which Firehose uses to deliver data to Apache Iceberg Tables. Firehose will write data with insert if table specific configuration is not provided. See `destination_table_configuration` block below for details.
 * @property processingConfiguration The data processing configuration.  See `processing_configuration` block below for details.
 * @property retryDuration The period of time, in seconds between 0 to 7200, during which Firehose retries to deliver data to the specified destination.
 * @property roleArn The ARN of the IAM role to be assumed by Firehose for calling Apache Iceberg Tables.
 * @property s3BackupMode
 * @property s3Configuration The S3 Configuration. See `s3_configuration` block below for details.
 */
public data class FirehoseDeliveryStreamIcebergConfiguration(
    public val bufferingInterval: Int? = null,
    public val bufferingSize: Int? = null,
    public val catalogArn: String,
    public val cloudwatchLoggingOptions: FirehoseDeliveryStreamIcebergConfigurationCloudwatchLoggingOptions? = null,
    public val destinationTableConfigurations: List? = null,
    public val processingConfiguration: FirehoseDeliveryStreamIcebergConfigurationProcessingConfiguration? = null,
    public val retryDuration: Int? = null,
    public val roleArn: String,
    public val s3BackupMode: String? = null,
    public val s3Configuration: FirehoseDeliveryStreamIcebergConfigurationS3Configuration,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamIcebergConfiguration): FirehoseDeliveryStreamIcebergConfiguration = FirehoseDeliveryStreamIcebergConfiguration(
            bufferingInterval = javaType.bufferingInterval().map({ args0 -> args0 }).orElse(null),
            bufferingSize = javaType.bufferingSize().map({ args0 -> args0 }).orElse(null),
            catalogArn = javaType.catalogArn(),
            cloudwatchLoggingOptions = javaType.cloudwatchLoggingOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamIcebergConfigurationCloudwatchLoggingOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            destinationTableConfigurations = javaType.destinationTableConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamIcebergConfigurationDestinationTableConfiguration.Companion.toKotlin(args0)
                })
            }),
            processingConfiguration = javaType.processingConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamIcebergConfigurationProcessingConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            retryDuration = javaType.retryDuration().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn(),
            s3BackupMode = javaType.s3BackupMode().map({ args0 -> args0 }).orElse(null),
            s3Configuration = javaType.s3Configuration().let({ args0 ->
                com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamIcebergConfigurationS3Configuration.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy