Class CfnSegment.RecencyProperty
Specifies how recently segment members were active.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.AWS.Pinpoint.dll
Syntax (csharp)
public class RecencyProperty : Object, CfnSegment.IRecencyProperty
Syntax (vb)
Public Class RecencyProperty
Inherits Object
Implements CfnSegment.IRecencyProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var recencyProperty = new RecencyProperty {
Duration = "duration",
RecencyType = "recencyType"
};
Synopsis
Constructors
RecencyProperty() |
Properties
Duration | The duration to use when determining which users have been active or inactive with your app. |
RecencyType | The type of recency dimension to use for the segment. |
Constructors
RecencyProperty()
public RecencyProperty()
Properties
Duration
The duration to use when determining which users have been active or inactive with your app.
public string Duration { get; set; }
Property Value
System.String
Remarks
Possible values: HR_24
| DAY_7
| DAY_14
| DAY_30
.
RecencyType
The type of recency dimension to use for the segment.
public string RecencyType { get; set; }
Property Value
System.String
Remarks
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.