FirehoseDeliveryStreamRedshiftConfiguration constructor

const FirehoseDeliveryStreamRedshiftConfiguration({
  1. Input<FirehoseDeliveryStreamRedshiftConfigurationCloudwatchLoggingOptions?>? cloudwatchLoggingOptions,
  2. required Input<String> clusterJdbcurl,
  3. Input<String?>? copyOptions,
  4. Input<String?>? dataTableColumns,
  5. required Input<String> dataTableName,
  6. Input<String?>? password,
  7. Input<FirehoseDeliveryStreamRedshiftConfigurationProcessingConfiguration?>? processingConfiguration,
  8. Input<int?>? retryDuration,
  9. required Input<String> roleArn,
  10. Input<FirehoseDeliveryStreamRedshiftConfigurationS3BackupConfiguration?>? s3BackupConfiguration,
  11. Input<String?>? s3BackupMode,
  12. required Input<FirehoseDeliveryStreamRedshiftConfigurationS3Configuration> s3Configuration,
  13. Input<FirehoseDeliveryStreamRedshiftConfigurationSecretsManagerConfiguration?>? secretsManagerConfiguration,
  14. Input<String?>? username,
})

Creates a new FirehoseDeliveryStreamRedshiftConfiguration. cloudwatchLoggingOptions The CloudWatch Logging Options for the delivery stream. See cloudwatchLoggingOptions block below for details. clusterJdbcurl The jdbcurl of the redshift cluster. copyOptions Copy options for copying the data from the s3 intermediate bucket into redshift, for example to change the default delimiter. For valid values, see the AWS documentation dataTableColumns The data table columns that will be targeted by the copy command. dataTableName The name of the table in the redshift cluster that the s3 bucket will copy to. password The password for the username above. This value is required if secretsManagerConfiguration is not provided. processingConfiguration The data processing configuration. See processingConfiguration block below for details. retryDuration The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of DurationInSeconds is 0 (zero) or if the first delivery attempt takes longer than the current value. roleArn The arn of the role the stream assumes. s3BackupConfiguration The configuration for backup in Amazon S3. Required if s3BackupMode is Enabled. Supports the same fields as s3Configuration object. s3BackupMode The Amazon S3 backup mode. Valid values are Disabled and Enabled. Default value is Disabled. s3Configuration The S3 Configuration. See s3Configuration below for details. secretsManagerConfiguration Optional. username The username that the firehose delivery stream will assume. It is strongly recommended that the username and password provided is used exclusively for Amazon Kinesis Firehose purposes, and that the permissions for the account are restricted for Amazon Redshift INSERT permissions. This value is required if secretsManagerConfiguration is not provided.

Implementation

const FirehoseDeliveryStreamRedshiftConfiguration({
  this.cloudwatchLoggingOptions,
  required this.clusterJdbcurl,
  this.copyOptions,
  this.dataTableColumns,
  required this.dataTableName,
  this.password,
  this.processingConfiguration,
  this.retryDuration,
  required this.roleArn,
  this.s3BackupConfiguration,
  this.s3BackupMode,
  required this.s3Configuration,
  this.secretsManagerConfiguration,
  this.username,
});