aws-cdk-lib.aws_pinpoint.CfnSegment.RecencyProperty

interface RecencyProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnSegment.RecencyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnSegment_RecencyProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnSegment.RecencyProperty
Pythonaws_cdk.aws_pinpoint.CfnSegment.RecencyProperty
TypeScript aws-cdk-lib » aws_pinpoint » CfnSegment » 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 { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const recencyProperty: pinpoint.CfnSegment.RecencyProperty = {
  duration: 'duration',
  recencyType: 'recencyType',
};

Properties

NameTypeDescription
durationstringThe duration to use when determining which users have been active or inactive with your app.
recencyTypestringThe type of recency dimension to use for the segment.

duration

Type: string

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

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.