
com.pulumi.aws.pipes.kotlin.inputs.PipeTargetParametersRedshiftDataParametersArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.pipes.kotlin.inputs
import com.pulumi.aws.pipes.inputs.PipeTargetParametersRedshiftDataParametersArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property database The name of the database. Required when authenticating using temporary credentials.
* @property dbUser The database user name. Required when authenticating using temporary credentials.
* @property secretManagerArn The name or ARN of the secret that enables access to the database. Required when authenticating using Secrets Manager.
* @property sqls List of SQL statements text to run, each of maximum length of 100,000.
* @property statementName The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
* @property withEvent Indicates whether to send an event back to EventBridge after the SQL statement runs.
*/
public data class PipeTargetParametersRedshiftDataParametersArgs(
public val database: Output,
public val dbUser: Output? = null,
public val secretManagerArn: Output? = null,
public val sqls: Output>,
public val statementName: Output? = null,
public val withEvent: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.pipes.inputs.PipeTargetParametersRedshiftDataParametersArgs = com.pulumi.aws.pipes.inputs.PipeTargetParametersRedshiftDataParametersArgs.builder()
.database(database.applyValue({ args0 -> args0 }))
.dbUser(dbUser?.applyValue({ args0 -> args0 }))
.secretManagerArn(secretManagerArn?.applyValue({ args0 -> args0 }))
.sqls(sqls.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.statementName(statementName?.applyValue({ args0 -> args0 }))
.withEvent(withEvent?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipeTargetParametersRedshiftDataParametersArgs].
*/
@PulumiTagMarker
public class PipeTargetParametersRedshiftDataParametersArgsBuilder internal constructor() {
private var database: Output? = null
private var dbUser: Output? = null
private var secretManagerArn: Output? = null
private var sqls: Output>? = null
private var statementName: Output? = null
private var withEvent: Output? = null
/**
* @param value The name of the database. Required when authenticating using temporary credentials.
*/
@JvmName("aclfusuhajbgmitc")
public suspend fun database(`value`: Output) {
this.database = value
}
/**
* @param value The database user name. Required when authenticating using temporary credentials.
*/
@JvmName("ftjntqypdgdnuess")
public suspend fun dbUser(`value`: Output) {
this.dbUser = value
}
/**
* @param value The name or ARN of the secret that enables access to the database. Required when authenticating using Secrets Manager.
*/
@JvmName("ndwtbweacqstvigc")
public suspend fun secretManagerArn(`value`: Output) {
this.secretManagerArn = value
}
/**
* @param value List of SQL statements text to run, each of maximum length of 100,000.
*/
@JvmName("luogkskyetakmlsg")
public suspend fun sqls(`value`: Output>) {
this.sqls = value
}
@JvmName("ujbmxrqceocdjctt")
public suspend fun sqls(vararg values: Output) {
this.sqls = Output.all(values.asList())
}
/**
* @param values List of SQL statements text to run, each of maximum length of 100,000.
*/
@JvmName("suiqkiakhisoxvge")
public suspend fun sqls(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy