interface SegmentSortProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CustomerProfiles.CfnSegmentDefinition.SegmentSortProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscustomerprofiles#CfnSegmentDefinition_SegmentSortProperty |
Java | software.amazon.awscdk.services.customerprofiles.CfnSegmentDefinition.SegmentSortProperty |
Python | aws_cdk.aws_customerprofiles.CfnSegmentDefinition.SegmentSortProperty |
TypeScript | aws-cdk-lib » aws_customerprofiles » CfnSegmentDefinition » SegmentSortProperty |
Defines how segments should be sorted and ordered in the results.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const segmentSortProperty: customerprofiles.CfnSegmentDefinition.SegmentSortProperty = {
attributes: [{
name: 'name',
order: 'order',
// the properties below are optional
dataType: 'dataType',
type: 'type',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| attributes | IResolvable | (IResolvable | Sort)[] | A list of attributes used to sort the segments and their ordering preferences. |
attributes
Type:
IResolvable | (IResolvable | Sort)[]
A list of attributes used to sort the segments and their ordering preferences.

.NET
Go
Java
Python
TypeScript