class Aws::CloudWatchEvents::Types::RedshiftDataParameters
These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API ExecuteStatement based on EventBridge events.
@note When making an API call, you may pass RedshiftDataParameters
data as a hash: { secret_manager_arn: "RedshiftSecretManagerArn", database: "Database", # required db_user: "DbUser", sql: "Sql", # required statement_name: "StatementName", with_event: false, }
@!attribute [rw] secret_manager_arn
The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager. @return [String]
@!attribute [rw] database
The name of the database. Required when authenticating using temporary credentials. @return [String]
@!attribute [rw] db_user
The database user name. Required when authenticating using temporary credentials. @return [String]
@!attribute [rw] sql
The SQL statement text to run. @return [String]
@!attribute [rw] statement_name
The name of the SQL statement. You can name the SQL statement when you create it to identify the query. @return [String]
@!attribute [rw] with_event
Indicates whether to send an event back to EventBridge after the SQL statement runs. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RedshiftDataParameters AWS API Documentation
Constants
- SENSITIVE