

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::QuickSight::Analysis PivotFieldSortOptions
<a name="aws-properties-quicksight-analysis-pivotfieldsortoptions"></a>

The field sort options for a pivot table sort configuration.

## Syntax
<a name="aws-properties-quicksight-analysis-pivotfieldsortoptions-syntax"></a>

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

### JSON
<a name="aws-properties-quicksight-analysis-pivotfieldsortoptions-syntax.json"></a>

```
{
  "[FieldId](#cfn-quicksight-analysis-pivotfieldsortoptions-fieldid)" : String,
  "[SortBy](#cfn-quicksight-analysis-pivotfieldsortoptions-sortby)" : PivotTableSortBy
}
```

### YAML
<a name="aws-properties-quicksight-analysis-pivotfieldsortoptions-syntax.yaml"></a>

```
  [FieldId](#cfn-quicksight-analysis-pivotfieldsortoptions-fieldid): String
  [SortBy](#cfn-quicksight-analysis-pivotfieldsortoptions-sortby): 
    PivotTableSortBy
```

## Properties
<a name="aws-properties-quicksight-analysis-pivotfieldsortoptions-properties"></a>

`FieldId`  <a name="cfn-quicksight-analysis-pivotfieldsortoptions-fieldid"></a>
The field ID for the field sort options.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `512`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`SortBy`  <a name="cfn-quicksight-analysis-pivotfieldsortoptions-sortby"></a>
The sort by field for the field sort options.  
*Required*: Yes  
*Type*: [PivotTableSortBy](aws-properties-quicksight-analysis-pivottablesortby.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)