ConditionsProperty Struct
The conditions including range, object count, and threshold for the calculated attribute.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const conditionsProperty: customerprofiles.CfnCalculatedAttributeDefinition.ConditionsProperty = {
objectCount: 123,
range: {
unit: 'unit',
// the properties below are optional
timestampFormat: 'timestampFormat',
timestampSource: 'timestampSource',
value: 123,
valueRange: {
end: 123,
start: 123,
},
},
threshold: {
operator: 'operator',
value: 'value',
},
};
Properties
objectCountoptionalnumberobject_countoptionalint | floatobjectCountoptionalNumberObjectCountoptionaldoubleObjectCountoptional*float64#The number of profile objects used for the calculated attribute.
rangeoptionalIResolvable | CfnCalculatedAttributeDefinition.RangePropertyrangeoptionaltyping.Union[IResolvable, RangeProperty]rangeoptionalIResolvableRangeoptionalIResolvableRangeoptionalinterface{}#The relative time period over which data is included in the aggregation.
thresholdoptionalIResolvable | CfnCalculatedAttributeDefinition.ThresholdPropertythresholdoptionaltyping.Union[IResolvable, ThresholdProperty]thresholdoptionalIResolvableThresholdoptionalIResolvableThresholdoptionalinterface{}#The threshold for the calculated attribute.