
com.pulumi.awsnative.appflow.kotlin.outputs.FlowAggregationConfig.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.appflow.kotlin.outputs
import com.pulumi.awsnative.appflow.kotlin.enums.FlowAggregationType
import kotlin.Int
import kotlin.Suppress
/**
*
* @property aggregationType Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
* @property targetFileSize The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
*/
public data class FlowAggregationConfig(
public val aggregationType: FlowAggregationType? = null,
public val targetFileSize: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.FlowAggregationConfig): FlowAggregationConfig = FlowAggregationConfig(
aggregationType = javaType.aggregationType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.enums.FlowAggregationType.Companion.toKotlin(args0)
})
}).orElse(null),
targetFileSize = javaType.targetFileSize().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy