
com.pulumi.awsnative.appflow.kotlin.outputs.FlowPrefixConfig.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.FlowPathPrefix
import com.pulumi.awsnative.appflow.kotlin.enums.FlowPrefixFormat
import com.pulumi.awsnative.appflow.kotlin.enums.FlowPrefixType
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property pathPrefixHierarchy Specifies whether the destination file path includes either or both of the following elements:
* - **EXECUTION_ID** - The ID that Amazon AppFlow assigns to the flow run.
* - **SCHEMA_VERSION** - The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
* - Source-to-destination field mappings
* - Field data types
* - Partition keys
* @property prefixFormat Determines the level of granularity for the date and time that's included in the prefix.
* @property prefixType Determines the format of the prefix, and whether it applies to the file name, file path, or both.
*/
public data class FlowPrefixConfig(
public val pathPrefixHierarchy: List? = null,
public val prefixFormat: FlowPrefixFormat? = null,
public val prefixType: FlowPrefixType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.FlowPrefixConfig): FlowPrefixConfig = FlowPrefixConfig(
pathPrefixHierarchy = javaType.pathPrefixHierarchy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.enums.FlowPathPrefix.Companion.toKotlin(args0)
})
}),
prefixFormat = javaType.prefixFormat().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.enums.FlowPrefixFormat.Companion.toKotlin(args0)
})
}).orElse(null),
prefixType = javaType.prefixType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appflow.kotlin.enums.FlowPrefixType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy