RuleRedshiftDataParametersArgs

data class RuleRedshiftDataParametersArgs(val database: Output<String>, val dbUser: Output<String>? = null, val secretManagerArn: Output<String>? = null, val sql: Output<String>? = null, val sqls: Output<List<String>>? = null, val statementName: Output<String>? = null, val withEvent: Output<Boolean>? = null) : ConvertibleToJava<RuleRedshiftDataParametersArgs>

Constructors

Link copied to clipboard
constructor(database: Output<String>, dbUser: Output<String>? = null, secretManagerArn: Output<String>? = null, sql: Output<String>? = null, sqls: Output<List<String>>? = null, statementName: Output<String>? = null, withEvent: Output<Boolean>? = null)

Properties

Link copied to clipboard
val database: Output<String>

The name of the database. Required when authenticating using temporary credentials.

Link copied to clipboard
val dbUser: Output<String>? = null

The database user name. Required when authenticating using temporary credentials.

Link copied to clipboard
val secretManagerArn: Output<String>? = null

The name or ARN of the secret that enables access to the database. Required when authenticating using AWS Secrets Manager.

Link copied to clipboard
val sql: Output<String>? = null

The SQL statement text to run.

Link copied to clipboard
val sqls: Output<List<String>>? = null

One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.

Link copied to clipboard
val statementName: Output<String>? = null

The name of the SQL statement. You can name the SQL statement when you create it to identify the query.

Link copied to clipboard
val withEvent: Output<Boolean>? = null

Indicates whether to send an event back to EventBridge after the SQL statement runs.

Functions

Link copied to clipboard
open override fun toJava(): RuleRedshiftDataParametersArgs