Class: Aws::Pipes::Types::PipeTargetRedshiftDataParameters

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pipes/types.rb

Overview

These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.

Constant Summary collapse

SENSITIVE =
[:database, :db_user, :statement_name, :sqls]

Instance Attribute Summary collapse

Instance Attribute Details

#databaseString

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

Returns:

  • (String)


2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-pipes/types.rb', line 2565

class PipeTargetRedshiftDataParameters < Struct.new(
  :secret_manager_arn,
  :database,
  :db_user,
  :statement_name,
  :with_event,
  :sqls)
  SENSITIVE = [:database, :db_user, :statement_name, :sqls]
  include Aws::Structure
end

#db_userString

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

Returns:

  • (String)


2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-pipes/types.rb', line 2565

class PipeTargetRedshiftDataParameters < Struct.new(
  :secret_manager_arn,
  :database,
  :db_user,
  :statement_name,
  :with_event,
  :sqls)
  SENSITIVE = [:database, :db_user, :statement_name, :sqls]
  include Aws::Structure
end

#secret_manager_arnString

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

Returns:

  • (String)


2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-pipes/types.rb', line 2565

class PipeTargetRedshiftDataParameters < Struct.new(
  :secret_manager_arn,
  :database,
  :db_user,
  :statement_name,
  :with_event,
  :sqls)
  SENSITIVE = [:database, :db_user, :statement_name, :sqls]
  include Aws::Structure
end

#sqlsArray<String>

The SQL statement text to run.

Returns:

  • (Array<String>)


2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-pipes/types.rb', line 2565

class PipeTargetRedshiftDataParameters < Struct.new(
  :secret_manager_arn,
  :database,
  :db_user,
  :statement_name,
  :with_event,
  :sqls)
  SENSITIVE = [:database, :db_user, :statement_name, :sqls]
  include Aws::Structure
end

#statement_nameString

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

Returns:

  • (String)


2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-pipes/types.rb', line 2565

class PipeTargetRedshiftDataParameters < Struct.new(
  :secret_manager_arn,
  :database,
  :db_user,
  :statement_name,
  :with_event,
  :sqls)
  SENSITIVE = [:database, :db_user, :statement_name, :sqls]
  include Aws::Structure
end

#with_eventBoolean

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

Returns:

  • (Boolean)


2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
# File 'lib/aws-sdk-pipes/types.rb', line 2565

class PipeTargetRedshiftDataParameters < Struct.new(
  :secret_manager_arn,
  :database,
  :db_user,
  :statement_name,
  :with_event,
  :sqls)
  SENSITIVE = [:database, :db_user, :statement_name, :sqls]
  include Aws::Structure
end