

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 PrefixConfig
<a name="aws-properties-appflow-flow-prefixconfig"></a>

Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.

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

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

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

```
{
  "[PathPrefixHierarchy](#cfn-appflow-flow-prefixconfig-pathprefixhierarchy)" : [ String, ... ],
  "[PrefixFormat](#cfn-appflow-flow-prefixconfig-prefixformat)" : String,
  "[PrefixType](#cfn-appflow-flow-prefixconfig-prefixtype)" : String
}
```

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

```
  [PathPrefixHierarchy](#cfn-appflow-flow-prefixconfig-pathprefixhierarchy): 
    - String
  [PrefixFormat](#cfn-appflow-flow-prefixconfig-prefixformat): String
  [PrefixType](#cfn-appflow-flow-prefixconfig-prefixtype): String
```

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

`PathPrefixHierarchy`  <a name="cfn-appflow-flow-prefixconfig-pathprefixhierarchy"></a>
Specifies whether the destination file path includes either or both of the following elements:    
EXECUTION\$1ID  
The ID that Amazon AppFlow assigns to the flow run.  
SCHEMA\$1VERSION  
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:  
+ Source-to-destination field mappings
+ Field data types
+ Partition keys
*Required*: No  
*Type*: Array of String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`PrefixFormat`  <a name="cfn-appflow-flow-prefixconfig-prefixformat"></a>
Determines the level of granularity for the date and time that's included in the prefix.   
*Required*: No  
*Type*: String  
*Allowed values*: `YEAR | MONTH | DAY | HOUR | MINUTE`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`PrefixType`  <a name="cfn-appflow-flow-prefixconfig-prefixtype"></a>
Determines the format of the prefix, and whether it applies to the file name, file path, or both.   
*Required*: No  
*Type*: String  
*Allowed values*: `FILENAME | PATH | PATH_AND_FILENAME`  
*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-prefixconfig--seealso"></a>
+ [PrefixConfig](https://docs.aws.amazon.com/appflow/1.0/APIReference/API_PrefixConfig.html) in the *Amazon AppFlow API Reference*.

