interface SortAttributeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CustomerProfiles.CfnSegmentDefinition.SortAttributeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscustomerprofiles#CfnSegmentDefinition_SortAttributeProperty |
Java | software.amazon.awscdk.services.customerprofiles.CfnSegmentDefinition.SortAttributeProperty |
Python | aws_cdk.aws_customerprofiles.CfnSegmentDefinition.SortAttributeProperty |
TypeScript | aws-cdk-lib » aws_customerprofiles » CfnSegmentDefinition » SortAttributeProperty |
Defines the characteristics and rules for sorting by a specific attribute.
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 sortAttributeProperty: customerprofiles.CfnSegmentDefinition.SortAttributeProperty = {
name: 'name',
order: 'order',
// the properties below are optional
dataType: 'dataType',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the attribute to sort by. |
| order | string | The sort order for the attribute (ascending or descending). |
| data | string | The data type of the sort attribute (e.g., string, number, date). |
| type? | string | The type of attribute (e.g., profile, calculated). |
name
Type:
string
The name of the attribute to sort by.
order
Type:
string
The sort order for the attribute (ascending or descending).
dataType?
Type:
string
(optional)
The data type of the sort attribute (e.g., string, number, date).
type?
Type:
string
(optional)
The type of attribute (e.g., profile, calculated).

.NET
Go
Java
Python
TypeScript