

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

# AWS::CustomerProfiles::SegmentDefinition ProfileTypeDimension
<a name="aws-properties-customerprofiles-segmentdefinition-profiletypedimension"></a>

Specifies profile type based criteria for a segment.

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

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

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

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

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

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

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

`DimensionType`  <a name="cfn-customerprofiles-segmentdefinition-profiletypedimension-dimensiontype"></a>
The action to segment on.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `INCLUSIVE | EXCLUSIVE`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

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