CfnCalculatedAttributeDefinitionMixinProps
- class aws_cdk.mixins_preview.aws_customerprofiles.mixins.CfnCalculatedAttributeDefinitionMixinProps(*, attribute_details=None, calculated_attribute_name=None, conditions=None, description=None, display_name=None, domain_name=None, statistic=None, tags=None, use_historical_data=None)
Bases:
objectProperties for CfnCalculatedAttributeDefinitionPropsMixin.
- Parameters:
attribute_details (
Union[IResolvable,AttributeDetailsProperty,Dict[str,Any],None]) – Mathematical expression and a list of attribute items specified in that expression.calculated_attribute_name (
Optional[str]) – The name of an attribute defined in a profile object type.conditions (
Union[IResolvable,ConditionsProperty,Dict[str,Any],None]) – The conditions including range, object count, and threshold for the calculated attribute.description (
Optional[str]) – The description of the calculated attribute.display_name (
Optional[str]) – The display name of the calculated attribute.domain_name (
Optional[str]) – The unique name of the domain.statistic (
Optional[str]) – The aggregation operation to perform for the calculated attribute.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.use_historical_data (
Union[bool,IResolvable,None]) – Whether historical data ingested before the Calculated Attribute was created should be included in calculations.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_customerprofiles import mixins as customerprofiles_mixins cfn_calculated_attribute_definition_mixin_props = customerprofiles_mixins.CfnCalculatedAttributeDefinitionMixinProps( attribute_details=customerprofiles_mixins.CfnCalculatedAttributeDefinitionPropsMixin.AttributeDetailsProperty( attributes=[customerprofiles_mixins.CfnCalculatedAttributeDefinitionPropsMixin.AttributeItemProperty( name="name" )], expression="expression" ), calculated_attribute_name="calculatedAttributeName", conditions=customerprofiles_mixins.CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty( object_count=123, range=customerprofiles_mixins.CfnCalculatedAttributeDefinitionPropsMixin.RangeProperty( timestamp_format="timestampFormat", timestamp_source="timestampSource", unit="unit", value=123, value_range=customerprofiles_mixins.CfnCalculatedAttributeDefinitionPropsMixin.ValueRangeProperty( end=123, start=123 ) ), threshold=customerprofiles_mixins.CfnCalculatedAttributeDefinitionPropsMixin.ThresholdProperty( operator="operator", value="value" ) ), description="description", display_name="displayName", domain_name="domainName", statistic="statistic", tags=[CfnTag( key="key", value="value" )], use_historical_data=False )
Attributes
- attribute_details
Mathematical expression and a list of attribute items specified in that expression.
- calculated_attribute_name
The name of an attribute defined in a profile object type.
- conditions
The conditions including range, object count, and threshold for the calculated attribute.
- description
The description of the calculated attribute.
- display_name
The display name of the calculated attribute.
- domain_name
The unique name of the domain.
- statistic
The aggregation operation to perform for the calculated attribute.
- tags
An array of key-value pairs to apply to this resource.
- use_historical_data
Whether historical data ingested before the Calculated Attribute was created should be included in calculations.