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

com.pulumi.awsnative.databrew.kotlin.outputs.DatasetDatabaseInputDefinition.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.databrew.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property databaseTableName Database table name
 * @property glueConnectionName Glue connection name
 * @property queryString Custom SQL to run against the provided AWS Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
 * @property tempDirectory An Amazon location that AWS Glue Data Catalog can use as a temporary directory.
 */
public data class DatasetDatabaseInputDefinition(
    public val databaseTableName: String? = null,
    public val glueConnectionName: String,
    public val queryString: String? = null,
    public val tempDirectory: DatasetS3Location? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.DatasetDatabaseInputDefinition): DatasetDatabaseInputDefinition = DatasetDatabaseInputDefinition(
            databaseTableName = javaType.databaseTableName().map({ args0 -> args0 }).orElse(null),
            glueConnectionName = javaType.glueConnectionName(),
            queryString = javaType.queryString().map({ args0 -> args0 }).orElse(null),
            tempDirectory = javaType.tempDirectory().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.databrew.kotlin.outputs.DatasetS3Location.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy