aws-cdk-lib.aws_pinpoint.CfnSegment.BehaviorProperty

interface BehaviorProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnSegment.BehaviorProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnSegment_BehaviorProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnSegment.BehaviorProperty
Pythonaws_cdk.aws_pinpoint.CfnSegment.BehaviorProperty
TypeScript aws-cdk-lib » aws_pinpoint » CfnSegment » BehaviorProperty

Specifies behavior-based criteria for the segment, such as how recently users have used your app.

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 behaviorProperty: pinpoint.CfnSegment.BehaviorProperty = {
  recency: {
    duration: 'duration',
    recencyType: 'recencyType',
  },
};

Properties

NameTypeDescription
recency?IResolvable | RecencyPropertySpecifies how recently segment members were active.

recency?

Type: IResolvable | RecencyProperty (optional)

Specifies how recently segment members were active.