

# RedshiftDestinationConfiguration
<a name="API_RedshiftDestinationConfiguration"></a>

Describes the configuration of a destination in Amazon Redshift.

## Contents
<a name="API_RedshiftDestinationConfiguration_Contents"></a>

 ** ClusterJDBCURL **   <a name="Firehose-Type-RedshiftDestinationConfiguration-ClusterJDBCURL"></a>
The database connection string.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Pattern: `jdbc:(redshift|postgresql)://((?!-)[A-Za-z0-9-]{1,63}(?<!-)\.)+(redshift(-serverless)?)\.([a-zA-Z0-9\.\-]+):\d{1,5}/[a-zA-Z0-9_$-]+`   
Required: Yes

 ** CopyCommand **   <a name="Firehose-Type-RedshiftDestinationConfiguration-CopyCommand"></a>
The `COPY` command.  
Type: [CopyCommand](API_CopyCommand.md) object  
Required: Yes

 ** RoleARN **   <a name="Firehose-Type-RedshiftDestinationConfiguration-RoleARN"></a>
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see [Amazon Resource Names (ARNs) and AWS Service Namespaces](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Pattern: `arn:.*:iam::\d{12}:role/[a-zA-Z_0-9+=,.@\-_/]+`   
Required: Yes

 ** S3Configuration **   <a name="Firehose-Type-RedshiftDestinationConfiguration-S3Configuration"></a>
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for [CreateDeliveryStream](API_CreateDeliveryStream.md).  
The compression formats `SNAPPY` or `ZIP` cannot be specified in `RedshiftDestinationConfiguration.S3Configuration` because the Amazon Redshift `COPY` operation that reads from the S3 bucket doesn't support these compression formats.  
Type: [S3DestinationConfiguration](API_S3DestinationConfiguration.md) object  
Required: Yes

 ** CloudWatchLoggingOptions **   <a name="Firehose-Type-RedshiftDestinationConfiguration-CloudWatchLoggingOptions"></a>
The CloudWatch logging options for your Firehose stream.  
Type: [CloudWatchLoggingOptions](API_CloudWatchLoggingOptions.md) object  
Required: No

 ** Password **   <a name="Firehose-Type-RedshiftDestinationConfiguration-Password"></a>
The user password.  
Type: String  
Length Constraints: Minimum length of 6. Maximum length of 512.  
Pattern: `.*`   
Required: No

 ** ProcessingConfiguration **   <a name="Firehose-Type-RedshiftDestinationConfiguration-ProcessingConfiguration"></a>
The data processing configuration.  
Type: [ProcessingConfiguration](API_ProcessingConfiguration.md) object  
Required: No

 ** RetryOptions **   <a name="Firehose-Type-RedshiftDestinationConfiguration-RetryOptions"></a>
The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).  
Type: [RedshiftRetryOptions](API_RedshiftRetryOptions.md) object  
Required: No

 ** S3BackupConfiguration **   <a name="Firehose-Type-RedshiftDestinationConfiguration-S3BackupConfiguration"></a>
The configuration for backup in Amazon S3.  
Type: [S3DestinationConfiguration](API_S3DestinationConfiguration.md) object  
Required: No

 ** S3BackupMode **   <a name="Firehose-Type-RedshiftDestinationConfiguration-S3BackupMode"></a>
The Amazon S3 backup mode. After you create a Firehose stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it.   
Type: String  
Valid Values: `Disabled | Enabled`   
Required: No

 ** SecretsManagerConfiguration **   <a name="Firehose-Type-RedshiftDestinationConfiguration-SecretsManagerConfiguration"></a>
 The configuration that defines how you access secrets for Amazon Redshift.   
Type: [SecretsManagerConfiguration](API_SecretsManagerConfiguration.md) object  
Required: No

 ** Username **   <a name="Firehose-Type-RedshiftDestinationConfiguration-Username"></a>
The name of the user.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Pattern: `.*`   
Required: No

## See Also
<a name="API_RedshiftDestinationConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/firehose-2015-08-04/RedshiftDestinationConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/firehose-2015-08-04/RedshiftDestinationConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/firehose-2015-08-04/RedshiftDestinationConfiguration) 