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

com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamDataFormatConversionConfiguration.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisfirehose.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property enabled Defaults to `true` . Set it to `false` if you want to disable format conversion while preserving the configuration details.
 * @property inputFormatConfiguration Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON. This parameter is required if `Enabled` is set to true.
 * @property outputFormatConfiguration Specifies the serializer that you want Firehose to use to convert the format of your data to the Parquet or ORC format. This parameter is required if `Enabled` is set to true.
 * @property schemaConfiguration Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required if `Enabled` is set to true.
 */
public data class DeliveryStreamDataFormatConversionConfiguration(
    public val enabled: Boolean? = null,
    public val inputFormatConfiguration: DeliveryStreamInputFormatConfiguration? = null,
    public val outputFormatConfiguration: DeliveryStreamOutputFormatConfiguration? = null,
    public val schemaConfiguration: DeliveryStreamSchemaConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisfirehose.outputs.DeliveryStreamDataFormatConversionConfiguration): DeliveryStreamDataFormatConversionConfiguration =
            DeliveryStreamDataFormatConversionConfiguration(
                enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
                inputFormatConfiguration = javaType.inputFormatConfiguration().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamInputFormatConfiguration.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                outputFormatConfiguration = javaType.outputFormatConfiguration().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamOutputFormatConfiguration.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                schemaConfiguration = javaType.schemaConfiguration().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamSchemaConfiguration.Companion.toKotlin(args0)
                    })
                }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy