

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::CustomerProfiles::SegmentDefinition AttributeDimension
<a name="aws-properties-customerprofiles-segmentdefinition-attributedimension"></a>

Object that defines how to filter the incoming objects for the calculated attribute.

## Syntax
<a name="aws-properties-customerprofiles-segmentdefinition-attributedimension-syntax"></a>

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

### JSON
<a name="aws-properties-customerprofiles-segmentdefinition-attributedimension-syntax.json"></a>

```
{
  "[DimensionType](#cfn-customerprofiles-segmentdefinition-attributedimension-dimensiontype)" : String,
  "[Values](#cfn-customerprofiles-segmentdefinition-attributedimension-values)" : [ String, ... ]
}
```

### YAML
<a name="aws-properties-customerprofiles-segmentdefinition-attributedimension-syntax.yaml"></a>

```
  [DimensionType](#cfn-customerprofiles-segmentdefinition-attributedimension-dimensiontype): String
  [Values](#cfn-customerprofiles-segmentdefinition-attributedimension-values): 
    - String
```

## Properties
<a name="aws-properties-customerprofiles-segmentdefinition-attributedimension-properties"></a>

`DimensionType`  <a name="cfn-customerprofiles-segmentdefinition-attributedimension-dimensiontype"></a>
The action to segment with.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `INCLUSIVE | EXCLUSIVE | CONTAINS | BEGINS_WITH | ENDS_WITH | BEFORE | AFTER | BETWEEN | NOT_BETWEEN | ON | GREATER_THAN | LESS_THAN | GREATER_THAN_OR_EQUAL | LESS_THAN_OR_EQUAL | EQUAL`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Values`  <a name="cfn-customerprofiles-segmentdefinition-attributedimension-values"></a>
The values to apply the DimensionType on.  
*Required*: Yes  
*Type*: Array of String  
*Minimum*: `1 | 1`  
*Maximum*: `255 | 50`  
*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)