interface RecencyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins.CfnSegmentPropsMixin.RecencyProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspinpoint/mixins#CfnSegmentPropsMixin_RecencyProperty |
Java | software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnSegmentPropsMixin.RecencyProperty |
Python | aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnSegmentPropsMixin.RecencyProperty |
TypeScript | @aws-cdk/mixins-preview » aws_pinpoint » mixins » CfnSegmentPropsMixin » RecencyProperty |
Specifies how recently segment members were active.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as pinpoint_mixins } from '@aws-cdk/mixins-preview/aws-pinpoint';
const recencyProperty: pinpoint_mixins.CfnSegmentPropsMixin.RecencyProperty = {
duration: 'duration',
recencyType: 'recencyType',
};
Properties
| Name | Type | Description |
|---|---|---|
| duration? | string | The duration to use when determining which users have been active or inactive with your app. |
| recency | string | The type of recency dimension to use for the segment. |
duration?
Type:
string
(optional)
The duration to use when determining which users have been active or inactive with your app.
Possible values: HR_24 | DAY_7 | DAY_14 | DAY_30 .
recencyType?
Type:
string
(optional)
The type of recency dimension to use for the segment.
Valid values are: ACTIVE and INACTIVE . If the value is ACTIVE , the segment includes users who have used your app within the specified duration are included in the segment. If the value is INACTIVE , the segment includes users who haven't used your app within the specified duration are included in the segment.

.NET
Go
Java
Python
TypeScript