SnowflakeDestinationPropertiesProperty Struct
The properties that are applied when Snowflake is being used as a destination.
| Source | |
|---|---|
| Type last changed |
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 snowflakeDestinationPropertiesProperty: appflow.CfnFlow.SnowflakeDestinationPropertiesProperty = {
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
snowflake_destination_properties_property = appflow.CfnFlow.SnowflakeDestinationPropertiesProperty(
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.*;
SnowflakeDestinationPropertiesProperty snowflakeDestinationPropertiesProperty = SnowflakeDestinationPropertiesProperty.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 snowflakeDestinationPropertiesProperty = new SnowflakeDestinationPropertiesProperty {
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"
snowflakeDestinationPropertiesProperty := &SnowflakeDestinationPropertiesProperty{
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 destination bucket in which Amazon AppFlow places the files.
errorHandlingConfigoptionalIResolvable | CfnFlow.error_handling_configoptionaltyping.Union[IResolvable, ErrorHandlingConfigProperty]errorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalinterface{} #The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake 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 Snowflake.
The object specified in the Snowflake flow destination.