EventTargetRedshiftTarget constructor

const EventTargetRedshiftTarget({
  1. required Input<String> database,
  2. Input<String?>? dbUser,
  3. Input<String?>? secretsManagerArn,
  4. Input<String?>? sql,
  5. Input<String?>? statementName,
  6. Input<bool?>? withEvent,
})

Creates a new EventTargetRedshiftTarget. database The name of the database. dbUser The database user name. secretsManagerArn The name or ARN of the secret that enables access to the database. sql The SQL statement text to run. statementName The name of the SQL statement. withEvent Indicates whether to send an event back to EventBridge after the SQL statement runs.

Implementation

const EventTargetRedshiftTarget({
  required this.database,
  this.dbUser,
  this.secretsManagerArn,
  this.sql,
  this.statementName,
  this.withEvent,
});