Interface CfnCalculatedAttributeDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCalculatedAttributeDefinitionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.794Z")
@Stability(Stable)
public interface CfnCalculatedAttributeDefinitionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCalculatedAttributeDefinition.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.customerprofiles.*;
CfnCalculatedAttributeDefinitionProps cfnCalculatedAttributeDefinitionProps = CfnCalculatedAttributeDefinitionProps.builder()
.attributeDetails(AttributeDetailsProperty.builder()
.attributes(List.of(AttributeItemProperty.builder()
.name("name")
.build()))
.expression("expression")
.build())
.calculatedAttributeName("calculatedAttributeName")
.domainName("domainName")
.statistic("statistic")
// the properties below are optional
.conditions(ConditionsProperty.builder()
.objectCount(123)
.range(RangeProperty.builder()
.unit("unit")
// the properties below are optional
.timestampFormat("timestampFormat")
.timestampSource("timestampSource")
.value(123)
.valueRange(ValueRangeProperty.builder()
.end(123)
.start(123)
.build())
.build())
.threshold(ThresholdProperty.builder()
.operator("operator")
.value("value")
.build())
.build())
.description("description")
.displayName("displayName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.useHistoricalData(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCalculatedAttributeDefinitionPropsstatic final classAn implementation forCfnCalculatedAttributeDefinitionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Mathematical expression and a list of attribute items specified in that expression.The name of an attribute defined in a profile object type.default ObjectThe conditions including range, object count, and threshold for the calculated attribute.default StringThe description of the calculated attribute.default StringThe display name of the calculated attribute.The unique name of the domain.The aggregation operation to perform for the calculated attribute.getTags()An array of key-value pairs to apply to this resource.default ObjectWhether historical data ingested before the Calculated Attribute was created should be included in calculations.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributeDetails
Mathematical expression and a list of attribute items specified in that expression.Returns union: either
IResolvableorCfnCalculatedAttributeDefinition.AttributeDetailsProperty- See Also:
-
getCalculatedAttributeName
The name of an attribute defined in a profile object type.- See Also:
-
getDomainName
The unique name of the domain.- See Also:
-
getStatistic
The aggregation operation to perform for the calculated attribute.- See Also:
-
getConditions
The conditions including range, object count, and threshold for the calculated attribute.Returns union: either
IResolvableorCfnCalculatedAttributeDefinition.ConditionsProperty- See Also:
-
getDescription
The description of the calculated attribute.- See Also:
-
getDisplayName
The display name of the calculated attribute.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
getUseHistoricalData
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-