

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::AppFlow::Flow ErrorHandlingConfig
<a name="aws-properties-appflow-flow-errorhandlingconfig"></a>

 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. 

## Syntax
<a name="aws-properties-appflow-flow-errorhandlingconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-appflow-flow-errorhandlingconfig-syntax.json"></a>

```
{
  "[BucketName](#cfn-appflow-flow-errorhandlingconfig-bucketname)" : String,
  "[BucketPrefix](#cfn-appflow-flow-errorhandlingconfig-bucketprefix)" : String,
  "[FailOnFirstError](#cfn-appflow-flow-errorhandlingconfig-failonfirsterror)" : Boolean
}
```

### YAML
<a name="aws-properties-appflow-flow-errorhandlingconfig-syntax.yaml"></a>

```
  [BucketName](#cfn-appflow-flow-errorhandlingconfig-bucketname): String
  [BucketPrefix](#cfn-appflow-flow-errorhandlingconfig-bucketprefix): String
  [FailOnFirstError](#cfn-appflow-flow-errorhandlingconfig-failonfirsterror): Boolean
```

## Properties
<a name="aws-properties-appflow-flow-errorhandlingconfig-properties"></a>

`BucketName`  <a name="cfn-appflow-flow-errorhandlingconfig-bucketname"></a>
 Specifies the name of the Amazon S3 bucket.   
*Required*: No  
*Type*: String  
*Pattern*: `\S+`  
*Minimum*: `3`  
*Maximum*: `63`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`BucketPrefix`  <a name="cfn-appflow-flow-errorhandlingconfig-bucketprefix"></a>
 Specifies the Amazon S3 bucket prefix.   
*Required*: No  
*Type*: String  
*Maximum*: `512`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FailOnFirstError`  <a name="cfn-appflow-flow-errorhandlingconfig-failonfirsterror"></a>
 Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.   
*Required*: No  
*Type*: Boolean  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

## See also
<a name="aws-properties-appflow-flow-errorhandlingconfig--seealso"></a>
+ [ErrorHandlingConfig](https://docs.aws.amazon.com/appflow/1.0/APIReference/API_ErrorHandlingConfig.html) in the *Amazon AppFlow API Reference*.

