AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RedshiftDestinationConfiguration

import "github.com/aws/aws-sdk-go/service/firehose"

type RedshiftDestinationConfiguration struct { CloudWatchLoggingOptions *CloudWatchLoggingOptions `type:"structure"` ClusterJDBCURL *string `min:"1" type:"string" required:"true"` CopyCommand *CopyCommand `type:"structure" required:"true"` Password *string `min:"6" type:"string" required:"true" sensitive:"true"` ProcessingConfiguration *ProcessingConfiguration `type:"structure"` RetryOptions *RedshiftRetryOptions `type:"structure"` RoleARN *string `min:"1" type:"string" required:"true"` S3BackupConfiguration *S3DestinationConfiguration `type:"structure"` S3BackupMode *string `type:"string" enum:"RedshiftS3BackupMode"` S3Configuration *S3DestinationConfiguration `type:"structure" required:"true"` Username *string `min:"1" type:"string" required:"true" sensitive:"true"` }

Describes the configuration of a destination in Amazon Redshift.

CloudWatchLoggingOptions

Describes the Amazon CloudWatch logging options for your delivery stream.

ClusterJDBCURL

Type: *string

The database connection string.

ClusterJDBCURL is a required field

CopyCommand

Describes a COPY command for Amazon Redshift.

Password

Type: *string

The user password.

Password is a required field

ProcessingConfiguration

Describes a data processing configuration.

RetryOptions

Configures retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.

RoleARN

Type: *string

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).

RoleARN is a required field

S3BackupConfiguration

Describes the configuration of a destination in Amazon S3.

S3BackupMode

Type: *string

The Amazon S3 backup mode.

S3Configuration

Describes the configuration of a destination in Amazon S3.

Username

Type: *string

The name of the user.

Username is a required field

Method

GoString

func (s RedshiftDestinationConfiguration) GoString() string

GoString returns the string representation

SetCloudWatchLoggingOptions

func (s *RedshiftDestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationConfiguration

SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value.

SetClusterJDBCURL

func (s *RedshiftDestinationConfiguration) SetClusterJDBCURL(v string) *RedshiftDestinationConfiguration

SetClusterJDBCURL sets the ClusterJDBCURL field's value.

SetCopyCommand

func (s *RedshiftDestinationConfiguration) SetCopyCommand(v *CopyCommand) *RedshiftDestinationConfiguration

SetCopyCommand sets the CopyCommand field's value.

SetPassword

func (s *RedshiftDestinationConfiguration) SetPassword(v string) *RedshiftDestinationConfiguration

SetPassword sets the Password field's value.

SetProcessingConfiguration

func (s *RedshiftDestinationConfiguration) SetProcessingConfiguration(v *ProcessingConfiguration) *RedshiftDestinationConfiguration

SetProcessingConfiguration sets the ProcessingConfiguration field's value.

SetRetryOptions

func (s *RedshiftDestinationConfiguration) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationConfiguration

SetRetryOptions sets the RetryOptions field's value.

SetRoleARN

func (s *RedshiftDestinationConfiguration) SetRoleARN(v string) *RedshiftDestinationConfiguration

SetRoleARN sets the RoleARN field's value.

SetS3BackupConfiguration

func (s *RedshiftDestinationConfiguration) SetS3BackupConfiguration(v *S3DestinationConfiguration) *RedshiftDestinationConfiguration

SetS3BackupConfiguration sets the S3BackupConfiguration field's value.

SetS3BackupMode

func (s *RedshiftDestinationConfiguration) SetS3BackupMode(v string) *RedshiftDestinationConfiguration

SetS3BackupMode sets the S3BackupMode field's value.

SetS3Configuration

func (s *RedshiftDestinationConfiguration) SetS3Configuration(v *S3DestinationConfiguration) *RedshiftDestinationConfiguration

SetS3Configuration sets the S3Configuration field's value.

SetUsername

func (s *RedshiftDestinationConfiguration) SetUsername(v string) *RedshiftDestinationConfiguration

SetUsername sets the Username field's value.

String

func (s RedshiftDestinationConfiguration) String() string

String returns the string representation

Validate

func (s *RedshiftDestinationConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: