---
type: resource-type
title: SegmentDefinition
description: aws resource type AWS::CustomerProfiles::SegmentDefinition
name: SegmentDefinition
lexicon: aws
resource_type: AWS::CustomerProfiles::SegmentDefinition
---
`AWS::CustomerProfiles::SegmentDefinition`, a resource type of the aws lexicon.

## Properties

- `DisplayName` (`string`, required): The display name of the segment definition.
- `DomainName` (`string`, required): The unique name of the domain.
- `SegmentDefinitionName` (`string`, required): The unique name of the segment definition.
- `CreatedAt` (`string`, optional): The time of this segment definition got created.
- `Description` (`string`, optional): The description of the segment definition.
- `SegmentDefinitionArn` (`string`, optional): The Amazon Resource Name (ARN) of the segment definition.
- `SegmentGroups` (`SegmentDefinition_SegmentGroup`, optional): An array that defines the set of segment criteria to evaluate when handling segment groups for the segment.
- `SegmentSort` (`SegmentDefinition_SegmentSort`, optional): The segment sort configuration for ordering segment results.
- `SegmentSqlQuery` (`string`, optional): The SQL query that defines the segment criteria.
- `SegmentType` (`"CLASSIC" | "ENHANCED"`, optional): The SQL query that defines the segment criteria.
- `Tags` (`SegmentDefinition_Tag[]`, optional): The tags used to organize, track, or control access for this resource.

## Attributes

- `CreatedAt`
- `SegmentDefinitionArn`
- `SegmentType`
