BehaviorProperty
Struct External
Specifies behavior-based criteria for the segment, such as how recently users have used your app.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpoint as pinpoint
behavior_property = pinpoint.CfnSegment.BehaviorProperty(
recency=pinpoint.CfnSegment.RecencyProperty(
duration="duration",
recency_type="recencyType"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;
BehaviorProperty behaviorProperty = BehaviorProperty.builder()
.recency(RecencyProperty.builder()
.duration("duration")
.recencyType("recencyType")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 behaviorProperty = new BehaviorProperty {
Recency = new RecencyProperty {
Duration = "duration",
RecencyType = "recencyType"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
behaviorProperty := &BehaviorProperty{
Recency: &RecencyProperty{
Duration: jsii.String("duration"),
RecencyType: jsii.String("recencyType"),
},
}
Properties
recencyoptionalIResolvable | CfnSegment.RecencyPropertyrecencyoptionaltyping.Union[IResolvable, RecencyProperty]recencyoptionalIResolvableRecencyoptionalIResolvableRecencyoptionalinterface{} #Specifies how recently segment members were active.