interface CfnCalculatedAttributeDefinitionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CustomerProfiles.Mixins.CfnCalculatedAttributeDefinitionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscustomerprofiles/mixins#CfnCalculatedAttributeDefinitionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.customerprofiles.mixins.CfnCalculatedAttributeDefinitionMixinProps |
Python | aws_cdk.mixins_preview.aws_customerprofiles.mixins.CfnCalculatedAttributeDefinitionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_customerprofiles » mixins » CfnCalculatedAttributeDefinitionMixinProps |
Properties for CfnCalculatedAttributeDefinitionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as customerprofiles_mixins } from '@aws-cdk/mixins-preview/aws-customerprofiles';
const cfnCalculatedAttributeDefinitionMixinProps: customerprofiles_mixins.CfnCalculatedAttributeDefinitionMixinProps = {
attributeDetails: {
attributes: [{
name: 'name',
}],
expression: 'expression',
},
calculatedAttributeName: 'calculatedAttributeName',
conditions: {
objectCount: 123,
range: {
timestampFormat: 'timestampFormat',
timestampSource: 'timestampSource',
unit: 'unit',
value: 123,
valueRange: {
end: 123,
start: 123,
},
},
threshold: {
operator: 'operator',
value: 'value',
},
},
description: 'description',
displayName: 'displayName',
domainName: 'domainName',
statistic: 'statistic',
tags: [{
key: 'key',
value: 'value',
}],
useHistoricalData: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| attribute | IResolvable | Attribute | Mathematical expression and a list of attribute items specified in that expression. |
| calculated | string | The name of an attribute defined in a profile object type. |
| conditions? | IResolvable | Conditions | The conditions including range, object count, and threshold for the calculated attribute. |
| description? | string | The description of the calculated attribute. |
| display | string | The display name of the calculated attribute. |
| domain | string | The unique name of the domain. |
| statistic? | string | The aggregation operation to perform for the calculated attribute. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
| use | boolean | IResolvable | Whether historical data ingested before the Calculated Attribute was created should be included in calculations. |
attributeDetails?
Type:
IResolvable | Attribute
(optional)
Mathematical expression and a list of attribute items specified in that expression.
calculatedAttributeName?
Type:
string
(optional)
The name of an attribute defined in a profile object type.
conditions?
Type:
IResolvable | Conditions
(optional)
The conditions including range, object count, and threshold for the calculated attribute.
description?
Type:
string
(optional)
The description of the calculated attribute.
displayName?
Type:
string
(optional)
The display name of the calculated attribute.
domainName?
Type:
string
(optional)
The unique name of the domain.
statistic?
Type:
string
(optional)
The aggregation operation to perform for the calculated attribute.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
useHistoricalData?
Type:
boolean | IResolvable
(optional)
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.

.NET
Go
Java
Python
TypeScript