@Stability(value=Stable)
public static interface CfnDeliveryStream.RedshiftDestinationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisfirehose.*;
RedshiftDestinationConfigurationProperty redshiftDestinationConfigurationProperty = RedshiftDestinationConfigurationProperty.builder()
.clusterJdbcurl("clusterJdbcurl")
.copyCommand(CopyCommandProperty.builder()
.dataTableName("dataTableName")
// the properties below are optional
.copyOptions("copyOptions")
.dataTableColumns("dataTableColumns")
.build())
.password("password")
.roleArn("roleArn")
.s3Configuration(S3DestinationConfigurationProperty.builder()
.bucketArn("bucketArn")
.roleArn("roleArn")
// the properties below are optional
.bufferingHints(BufferingHintsProperty.builder()
.intervalInSeconds(123)
.sizeInMBs(123)
.build())
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.compressionFormat("compressionFormat")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
.awskmsKeyArn("awskmsKeyArn")
.build())
.noEncryptionConfig("noEncryptionConfig")
.build())
.errorOutputPrefix("errorOutputPrefix")
.prefix("prefix")
.build())
.username("username")
// the properties below are optional
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.processingConfiguration(ProcessingConfigurationProperty.builder()
.enabled(false)
.processors(List.of(ProcessorProperty.builder()
.type("type")
// the properties below are optional
.parameters(List.of(ProcessorParameterProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.build()))
.build())
.retryOptions(RedshiftRetryOptionsProperty.builder()
.durationInSeconds(123)
.build())
.s3BackupConfiguration(S3DestinationConfigurationProperty.builder()
.bucketArn("bucketArn")
.roleArn("roleArn")
// the properties below are optional
.bufferingHints(BufferingHintsProperty.builder()
.intervalInSeconds(123)
.sizeInMBs(123)
.build())
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.compressionFormat("compressionFormat")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
.awskmsKeyArn("awskmsKeyArn")
.build())
.noEncryptionConfig("noEncryptionConfig")
.build())
.errorOutputPrefix("errorOutputPrefix")
.prefix("prefix")
.build())
.s3BackupMode("s3BackupMode")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeliveryStream.RedshiftDestinationConfigurationProperty.Builder
|
static class |
CfnDeliveryStream.RedshiftDestinationConfigurationProperty.Jsii$Proxy
An implementation for
CfnDeliveryStream.RedshiftDestinationConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeliveryStream.RedshiftDestinationConfigurationProperty.Builder |
builder() |
default Object |
getCloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
|
String |
getClusterJdbcurl()
The connection string that Kinesis Data Firehose uses to connect to the Amazon Redshift cluster.
|
Object |
getCopyCommand()
Configures the Amazon Redshift `COPY` command that Kinesis Data Firehose uses to load data into the cluster from the Amazon S3 bucket.
|
String |
getPassword()
The password for the Amazon Redshift user that you specified in the `Username` property.
|
default Object |
getProcessingConfiguration()
The data processing configuration for the Kinesis Data Firehose delivery stream.
|
default Object |
getRetryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
|
String |
getRoleArn()
The ARN of the AWS Identity and Access Management (IAM) role that grants Kinesis Data Firehose access to your Amazon S3 bucket and AWS KMS (if you enable data encryption).
|
default Object |
getS3BackupConfiguration()
The configuration for backup in Amazon S3.
|
default String |
getS3BackupMode()
The Amazon S3 backup mode.
|
Object |
getS3Configuration()
The S3 bucket where Kinesis Data Firehose first delivers data.
|
String |
getUsername()
The Amazon Redshift user that has permission to access the Amazon Redshift cluster.
|
@Stability(value=Stable) @NotNull String getClusterJdbcurl()
@Stability(value=Stable) @NotNull Object getCopyCommand()
@Stability(value=Stable) @NotNull String getPassword()
@Stability(value=Stable) @NotNull String getRoleArn()
For more information, see Grant Kinesis Data Firehose Access to an Amazon Redshift Destination in the Amazon Kinesis Data Firehose Developer Guide .
@Stability(value=Stable) @NotNull Object getS3Configuration()
After the data is in the bucket, Kinesis Data Firehose uses the COPY command to load the data into the Amazon Redshift cluster. For the Amazon S3 bucket's compression format, don't specify SNAPPY or ZIP because the Amazon Redshift COPY command doesn't support them.
@Stability(value=Stable) @NotNull String getUsername()
This user must have INSERT privileges for copying data from the Amazon S3 bucket to the cluster.
@Stability(value=Stable) @Nullable default Object getCloudWatchLoggingOptions()
@Stability(value=Stable) @Nullable default Object getProcessingConfiguration()
@Stability(value=Stable) @Nullable default Object getRetryOptions()
Default value is 3600 (60 minutes).
@Stability(value=Stable) @Nullable default Object getS3BackupConfiguration()
@Stability(value=Stable) @Nullable default String getS3BackupMode()
After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
@Stability(value=Stable) static CfnDeliveryStream.RedshiftDestinationConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.