Interface CfnFlow.RedshiftDestinationPropertiesProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFlow.RedshiftDestinationPropertiesProperty.Jsii$Proxy
Enclosing class:
CfnFlow

@Stability(Stable) public static interface CfnFlow.RedshiftDestinationPropertiesProperty extends software.amazon.jsii.JsiiSerializable
The properties that are applied when Amazon Redshift is being used as a destination.

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.appflow.*;
 RedshiftDestinationPropertiesProperty redshiftDestinationPropertiesProperty = RedshiftDestinationPropertiesProperty.builder()
         .intermediateBucketName("intermediateBucketName")
         .object("object")
         // the properties below are optional
         .bucketPrefix("bucketPrefix")
         .errorHandlingConfig(ErrorHandlingConfigProperty.builder()
                 .bucketName("bucketName")
                 .bucketPrefix("bucketPrefix")
                 .failOnFirstError(false)
                 .build())
         .build();
 
  • Method Details

    • getIntermediateBucketName

      @Stability(Stable) @NotNull String getIntermediateBucketName()
      The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
    • getObject

      @Stability(Stable) @NotNull String getObject()
      The object specified in the Amazon Redshift flow destination.
    • getBucketPrefix

      @Stability(Stable) @Nullable default String getBucketPrefix()
      The object key for the bucket in which Amazon AppFlow places the destination files.
    • getErrorHandlingConfig

      @Stability(Stable) @Nullable default Object getErrorHandlingConfig()
      The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination.

      For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

    • builder

      @Stability(Stable) static CfnFlow.RedshiftDestinationPropertiesProperty.Builder builder()
      Returns:
      a CfnFlow.RedshiftDestinationPropertiesProperty.Builder of CfnFlow.RedshiftDestinationPropertiesProperty