interface ErrorHandlingConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppFlow.CfnFlow.ErrorHandlingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappflow#CfnFlow_ErrorHandlingConfigProperty |
Java | software.amazon.awscdk.services.appflow.CfnFlow.ErrorHandlingConfigProperty |
Python | aws_cdk.aws_appflow.CfnFlow.ErrorHandlingConfigProperty |
TypeScript | aws-cdk-lib » aws_appflow » CfnFlow » ErrorHandlingConfigProperty |
The settings that determine how Amazon AppFlow handles an error when placing data in the 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.
Example
// 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 errorHandlingConfigProperty: appflow.CfnFlow.ErrorHandlingConfigProperty = {
bucketName: 'bucketName',
bucketPrefix: 'bucketPrefix',
failOnFirstError: false,
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | Specifies the name of the Amazon S3 bucket. |
bucket | string | Specifies the Amazon S3 bucket prefix. |
fail | boolean | IResolvable | Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination. |
bucketName?
Type:
string
(optional)
Specifies the name of the Amazon S3 bucket.
bucketPrefix?
Type:
string
(optional)
Specifies the Amazon S3 bucket prefix.
failOnFirstError?
Type:
boolean |
IResolvable
(optional)
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.