com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamDataFormatConversionConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.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),
)
}
}