AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CustomerProfiles::CalculatedAttributeDefinition

CfnCalculatedAttributeDefinition

A calculated attribute definition for Customer Profiles.

Import

import { CfnCalculatedAttributeDefinition } from 'aws-cdk-lib/aws-customerprofiles';

Or use the module namespace:

import * as customerprofiles from 'aws-cdk-lib/aws-customerprofiles';
// customerprofiles.CfnCalculatedAttributeDefinition

Properties

Configuration passed to the constructor as CfnCalculatedAttributeDefinitionProps.

attributeDetailsRequired
IResolvable | AttributeDetailsProperty

Mathematical expression and a list of attribute items specified in that expression.

calculatedAttributeNameRequired
string

The name of an attribute defined in a profile object type.

domainNameRequired
string

The unique name of the domain.

statisticRequired
string

The aggregation operation to perform for the calculated attribute.

conditionsOptional
IResolvable | ConditionsProperty

The conditions including range, object count, and threshold for the calculated attribute.

descriptionOptional
string

The description of the calculated attribute.

displayNameOptional
string

The display name of the calculated attribute.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource.

useHistoricalDataOptional
boolean | IResolvable

Whether historical data ingested before the Calculated Attribute was created should be included in calculations.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-customerprofiles
CFN TypeAWS::CustomerProfiles::CalculatedAttributeDefinition
Properties9

External Links