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

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

package com.pulumi.awsnative.appflow.kotlin.outputs

import com.pulumi.awsnative.appflow.kotlin.enums.FlowWriteOperationType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property customProperties The custom properties that are specific to the connector when it's used as a destination in the flow.
 * @property entityName The entity specified in the custom connector as a destination in the flow.
 * @property errorHandlingConfig The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
 * @property idFieldNames List of fields used as ID when performing a write operation.
 * @property writeOperationType Specifies the type of write operation to be performed in the custom connector when it's used as destination.
 */
public data class FlowCustomConnectorDestinationProperties(
    public val customProperties: Map? = null,
    public val entityName: String,
    public val errorHandlingConfig: FlowErrorHandlingConfig? = null,
    public val idFieldNames: List? = null,
    public val writeOperationType: FlowWriteOperationType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.FlowCustomConnectorDestinationProperties): FlowCustomConnectorDestinationProperties = FlowCustomConnectorDestinationProperties(
            customProperties = javaType.customProperties().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            entityName = javaType.entityName(),
            errorHandlingConfig = javaType.errorHandlingConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.FlowErrorHandlingConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            idFieldNames = javaType.idFieldNames().map({ args0 -> args0 }),
            writeOperationType = javaType.writeOperationType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.enums.FlowWriteOperationType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy