AWS::Pinpoint::Segment Recency - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Pinpoint::Segment Recency

Specifies how recently segment members were active.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Duration" : String, "RecencyType" : String }

YAML

Duration: String RecencyType: String

Properties

Duration

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.

Required: Yes

Type: String

Update requires: No interruption

RecencyType

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.

Required: Yes

Type: String

Update requires: No interruption