Skip to content
v2.275.0

SegmentSortProperty Struct ​

Defines how segments should be sorted and ordered in the results.

Example ​

ts
// 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 ​

attributesIResolvable | IResolvable | CfnSegmentDefinition.SortAttributeProperty[]attributestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SortAttributeProperty]]]attributesIResolvableAttributesIResolvableAttributesinterface{}required#
A list of attributes used to sort the segments and their ordering preferences.