Skip to content
v2.278.0

RedshiftDestinationPropertiesProperty Struct ​

The properties that are applied when Amazon Redshift is being used as a destination.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const redshiftDestinationPropertiesProperty: appflow.CfnFlow.RedshiftDestinationPropertiesProperty = {
  intermediateBucketName: 'intermediateBucketName',
  object: 'object',

  // the properties below are optional
  bucketPrefix: 'bucketPrefix',
  errorHandlingConfig: {
    bucketName: 'bucketName',
    bucketPrefix: 'bucketPrefix',
    failOnFirstError: false,
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appflow as appflow

redshift_destination_properties_property = appflow.CfnFlow.RedshiftDestinationPropertiesProperty(
    intermediate_bucket_name="intermediateBucketName",
    object="object",

    # the properties below are optional
    bucket_prefix="bucketPrefix",
    error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
        bucket_name="bucketName",
        bucket_prefix="bucketPrefix",
        fail_on_first_error=False
    )
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;

var redshiftDestinationPropertiesProperty = new RedshiftDestinationPropertiesProperty {
    IntermediateBucketName = "intermediateBucketName",
    Object = "object",

    // the properties below are optional
    BucketPrefix = "bucketPrefix",
    ErrorHandlingConfig = new ErrorHandlingConfigProperty {
        BucketName = "bucketName",
        BucketPrefix = "bucketPrefix",
        FailOnFirstError = false
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

redshiftDestinationPropertiesProperty := &RedshiftDestinationPropertiesProperty{
	IntermediateBucketName: jsii.String("intermediateBucketName"),
	Object: jsii.String("object"),

	// the properties below are optional
	BucketPrefix: jsii.String("bucketPrefix"),
	ErrorHandlingConfig: &ErrorHandlingConfigProperty{
		BucketName: jsii.String("bucketName"),
		BucketPrefix: jsii.String("bucketPrefix"),
		FailOnFirstError: jsii.Boolean(false),
	},
}

Properties ​

bucketPrefixoptionalstringbucket_prefixoptionalstrbucketPrefixoptionalStringBucketPrefixoptionalstringBucketPrefixoptional*string #
The object key for the bucket in which Amazon AppFlow places the destination files.
errorHandlingConfigoptionalIResolvable | CfnFlow.ErrorHandlingConfigPropertyerror_handling_configoptionaltyping.Union[IResolvable, ErrorHandlingConfigProperty]errorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalinterface{} #
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination.
notes

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.

intermediateBucketNamestringintermediate_bucket_namestrintermediateBucketNameStringIntermediateBucketNamestringIntermediateBucketName*string required #
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
objectstringobjectstrobjectStringObjectstringObject*string required #
The object specified in the Amazon Redshift flow destination.