We recommend new projects start with resources from the AWS provider.
aws-native.customerprofiles.CalculatedAttributeDefinition
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A calculated attribute definition for Customer Profiles
Create CalculatedAttributeDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CalculatedAttributeDefinition(name: string, args: CalculatedAttributeDefinitionArgs, opts?: CustomResourceOptions);
@overload
def CalculatedAttributeDefinition(resource_name: str,
args: CalculatedAttributeDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CalculatedAttributeDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
attribute_details: Optional[CalculatedAttributeDefinitionAttributeDetailsArgs] = None,
calculated_attribute_name: Optional[str] = None,
domain_name: Optional[str] = None,
statistic: Optional[CalculatedAttributeDefinitionStatistic] = None,
conditions: Optional[CalculatedAttributeDefinitionConditionsArgs] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewCalculatedAttributeDefinition(ctx *Context, name string, args CalculatedAttributeDefinitionArgs, opts ...ResourceOption) (*CalculatedAttributeDefinition, error)
public CalculatedAttributeDefinition(string name, CalculatedAttributeDefinitionArgs args, CustomResourceOptions? opts = null)
public CalculatedAttributeDefinition(String name, CalculatedAttributeDefinitionArgs args)
public CalculatedAttributeDefinition(String name, CalculatedAttributeDefinitionArgs args, CustomResourceOptions options)
type: aws-native:customerprofiles:CalculatedAttributeDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CalculatedAttributeDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CalculatedAttributeDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CalculatedAttributeDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CalculatedAttributeDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CalculatedAttributeDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CalculatedAttributeDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CalculatedAttributeDefinition resource accepts the following input properties:
- Attribute
Details Pulumi.Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Attribute Details - Mathematical expression and a list of attribute items specified in that expression.
- Calculated
Attribute stringName - The name of an attribute defined in a profile object type.
- Domain
Name string - The unique name of the domain.
- Statistic
Pulumi.
Aws Native. Customer Profiles. Calculated Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- Conditions
Pulumi.
Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- Description string
- The description of the calculated attribute.
- Display
Name string - The display name of the calculated attribute.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Attribute
Details CalculatedAttribute Definition Attribute Details Args - Mathematical expression and a list of attribute items specified in that expression.
- Calculated
Attribute stringName - The name of an attribute defined in a profile object type.
- Domain
Name string - The unique name of the domain.
- Statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- Conditions
Calculated
Attribute Definition Conditions Args - The conditions including range, object count, and threshold for the calculated attribute.
- Description string
- The description of the calculated attribute.
- Display
Name string - The display name of the calculated attribute.
- Tag
Args - An array of key-value pairs to apply to this resource.
- attribute
Details CalculatedAttribute Definition Attribute Details - Mathematical expression and a list of attribute items specified in that expression.
- calculated
Attribute StringName - The name of an attribute defined in a profile object type.
- domain
Name String - The unique name of the domain.
- statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- conditions
Calculated
Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- description String
- The description of the calculated attribute.
- display
Name String - The display name of the calculated attribute.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- attribute
Details CalculatedAttribute Definition Attribute Details - Mathematical expression and a list of attribute items specified in that expression.
- calculated
Attribute stringName - The name of an attribute defined in a profile object type.
- domain
Name string - The unique name of the domain.
- statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- conditions
Calculated
Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- description string
- The description of the calculated attribute.
- display
Name string - The display name of the calculated attribute.
- Tag[]
- An array of key-value pairs to apply to this resource.
- attribute_
details CalculatedAttribute Definition Attribute Details Args - Mathematical expression and a list of attribute items specified in that expression.
- calculated_
attribute_ strname - The name of an attribute defined in a profile object type.
- domain_
name str - The unique name of the domain.
- statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- conditions
Calculated
Attribute Definition Conditions Args - The conditions including range, object count, and threshold for the calculated attribute.
- description str
- The description of the calculated attribute.
- display_
name str - The display name of the calculated attribute.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- attribute
Details Property Map - Mathematical expression and a list of attribute items specified in that expression.
- calculated
Attribute StringName - The name of an attribute defined in a profile object type.
- domain
Name String - The unique name of the domain.
- statistic "FIRST_OCCURRENCE" | "LAST_OCCURRENCE" | "COUNT" | "SUM" | "MINIMUM" | "MAXIMUM" | "AVERAGE" | "MAX_OCCURRENCE"
- The aggregation operation to perform for the calculated attribute.
- conditions Property Map
- The conditions including range, object count, and threshold for the calculated attribute.
- description String
- The description of the calculated attribute.
- display
Name String - The display name of the calculated attribute.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the CalculatedAttributeDefinition resource produces the following output properties:
- Created
At string - The timestamp of when the calculated attribute definition was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - The timestamp of when the calculated attribute definition was most recently edited.
- Created
At string - The timestamp of when the calculated attribute definition was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - The timestamp of when the calculated attribute definition was most recently edited.
- created
At String - The timestamp of when the calculated attribute definition was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - The timestamp of when the calculated attribute definition was most recently edited.
- created
At string - The timestamp of when the calculated attribute definition was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringAt - The timestamp of when the calculated attribute definition was most recently edited.
- created_
at str - The timestamp of when the calculated attribute definition was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strat - The timestamp of when the calculated attribute definition was most recently edited.
- created
At String - The timestamp of when the calculated attribute definition was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - The timestamp of when the calculated attribute definition was most recently edited.
Supporting Types
CalculatedAttributeDefinitionAttributeDetails, CalculatedAttributeDefinitionAttributeDetailsArgs
- Attributes
List<Pulumi.
Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Attribute Item> - Mathematical expression and a list of attribute items specified in that expression.
- Expression string
- Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of "{ObjectTypeName.AttributeName}".
- Attributes
[]Calculated
Attribute Definition Attribute Item - Mathematical expression and a list of attribute items specified in that expression.
- Expression string
- Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of "{ObjectTypeName.AttributeName}".
- attributes
List<Calculated
Attribute Definition Attribute Item> - Mathematical expression and a list of attribute items specified in that expression.
- expression String
- Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of "{ObjectTypeName.AttributeName}".
- attributes
Calculated
Attribute Definition Attribute Item[] - Mathematical expression and a list of attribute items specified in that expression.
- expression string
- Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of "{ObjectTypeName.AttributeName}".
- attributes
Sequence[Calculated
Attribute Definition Attribute Item] - Mathematical expression and a list of attribute items specified in that expression.
- expression str
- Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of "{ObjectTypeName.AttributeName}".
- attributes List<Property Map>
- Mathematical expression and a list of attribute items specified in that expression.
- expression String
- Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of "{ObjectTypeName.AttributeName}".
CalculatedAttributeDefinitionAttributeItem, CalculatedAttributeDefinitionAttributeItemArgs
- Name string
- Name string
- name String
- name string
- name str
- name String
CalculatedAttributeDefinitionConditions, CalculatedAttributeDefinitionConditionsArgs
- Object
Count int - The number of profile objects used for the calculated attribute.
- Range
Pulumi.
Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Range - The relative time period over which data is included in the aggregation.
- Threshold
Pulumi.
Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Threshold - The threshold for the calculated attribute.
- Object
Count int - The number of profile objects used for the calculated attribute.
- Range
Calculated
Attribute Definition Range - The relative time period over which data is included in the aggregation.
- Threshold
Calculated
Attribute Definition Threshold - The threshold for the calculated attribute.
- object
Count Integer - The number of profile objects used for the calculated attribute.
- range
Calculated
Attribute Definition Range - The relative time period over which data is included in the aggregation.
- threshold
Calculated
Attribute Definition Threshold - The threshold for the calculated attribute.
- object
Count number - The number of profile objects used for the calculated attribute.
- range
Calculated
Attribute Definition Range - The relative time period over which data is included in the aggregation.
- threshold
Calculated
Attribute Definition Threshold - The threshold for the calculated attribute.
- object_
count int - The number of profile objects used for the calculated attribute.
- range
Calculated
Attribute Definition Range - The relative time period over which data is included in the aggregation.
- threshold
Calculated
Attribute Definition Threshold - The threshold for the calculated attribute.
- object
Count Number - The number of profile objects used for the calculated attribute.
- range Property Map
- The relative time period over which data is included in the aggregation.
- threshold Property Map
- The threshold for the calculated attribute.
CalculatedAttributeDefinitionRange, CalculatedAttributeDefinitionRangeArgs
- Unit
Pulumi.
Aws Native. Customer Profiles. Calculated Attribute Definition Range Unit - The unit of time.
- Value int
- The amount of time of the specified unit.
- Unit
Calculated
Attribute Definition Range Unit - The unit of time.
- Value int
- The amount of time of the specified unit.
- unit
Calculated
Attribute Definition Range Unit - The unit of time.
- value Integer
- The amount of time of the specified unit.
- unit
Calculated
Attribute Definition Range Unit - The unit of time.
- value number
- The amount of time of the specified unit.
- unit
Calculated
Attribute Definition Range Unit - The unit of time.
- value int
- The amount of time of the specified unit.
CalculatedAttributeDefinitionRangeUnit, CalculatedAttributeDefinitionRangeUnitArgs
- Days
- DAYS
- Calculated
Attribute Definition Range Unit Days - DAYS
- Days
- DAYS
- Days
- DAYS
- DAYS
- DAYS
- "DAYS"
- DAYS
CalculatedAttributeDefinitionStatistic, CalculatedAttributeDefinitionStatisticArgs
- First
Occurrence - FIRST_OCCURRENCE
- Last
Occurrence - LAST_OCCURRENCE
- Count
- COUNT
- Sum
- SUM
- Minimum
- MINIMUM
- Maximum
- MAXIMUM
- Average
- AVERAGE
- Max
Occurrence - MAX_OCCURRENCE
- Calculated
Attribute Definition Statistic First Occurrence - FIRST_OCCURRENCE
- Calculated
Attribute Definition Statistic Last Occurrence - LAST_OCCURRENCE
- Calculated
Attribute Definition Statistic Count - COUNT
- Calculated
Attribute Definition Statistic Sum - SUM
- Calculated
Attribute Definition Statistic Minimum - MINIMUM
- Calculated
Attribute Definition Statistic Maximum - MAXIMUM
- Calculated
Attribute Definition Statistic Average - AVERAGE
- Calculated
Attribute Definition Statistic Max Occurrence - MAX_OCCURRENCE
- First
Occurrence - FIRST_OCCURRENCE
- Last
Occurrence - LAST_OCCURRENCE
- Count
- COUNT
- Sum
- SUM
- Minimum
- MINIMUM
- Maximum
- MAXIMUM
- Average
- AVERAGE
- Max
Occurrence - MAX_OCCURRENCE
- First
Occurrence - FIRST_OCCURRENCE
- Last
Occurrence - LAST_OCCURRENCE
- Count
- COUNT
- Sum
- SUM
- Minimum
- MINIMUM
- Maximum
- MAXIMUM
- Average
- AVERAGE
- Max
Occurrence - MAX_OCCURRENCE
- FIRST_OCCURRENCE
- FIRST_OCCURRENCE
- LAST_OCCURRENCE
- LAST_OCCURRENCE
- COUNT
- COUNT
- SUM
- SUM
- MINIMUM
- MINIMUM
- MAXIMUM
- MAXIMUM
- AVERAGE
- AVERAGE
- MAX_OCCURRENCE
- MAX_OCCURRENCE
- "FIRST_OCCURRENCE"
- FIRST_OCCURRENCE
- "LAST_OCCURRENCE"
- LAST_OCCURRENCE
- "COUNT"
- COUNT
- "SUM"
- SUM
- "MINIMUM"
- MINIMUM
- "MAXIMUM"
- MAXIMUM
- "AVERAGE"
- AVERAGE
- "MAX_OCCURRENCE"
- MAX_OCCURRENCE
CalculatedAttributeDefinitionThreshold, CalculatedAttributeDefinitionThresholdArgs
- Operator
Pulumi.
Aws Native. Customer Profiles. Calculated Attribute Definition Threshold Operator - The operator of the threshold.
- Value string
- The value of the threshold.
- Operator
Calculated
Attribute Definition Threshold Operator - The operator of the threshold.
- Value string
- The value of the threshold.
- operator
Calculated
Attribute Definition Threshold Operator - The operator of the threshold.
- value String
- The value of the threshold.
- operator
Calculated
Attribute Definition Threshold Operator - The operator of the threshold.
- value string
- The value of the threshold.
- operator
Calculated
Attribute Definition Threshold Operator - The operator of the threshold.
- value str
- The value of the threshold.
- operator "EQUAL_TO" | "GREATER_THAN" | "LESS_THAN" | "NOT_EQUAL_TO"
- The operator of the threshold.
- value String
- The value of the threshold.
CalculatedAttributeDefinitionThresholdOperator, CalculatedAttributeDefinitionThresholdOperatorArgs
- Equal
To - EQUAL_TO
- Greater
Than - GREATER_THAN
- Less
Than - LESS_THAN
- Not
Equal To - NOT_EQUAL_TO
- Calculated
Attribute Definition Threshold Operator Equal To - EQUAL_TO
- Calculated
Attribute Definition Threshold Operator Greater Than - GREATER_THAN
- Calculated
Attribute Definition Threshold Operator Less Than - LESS_THAN
- Calculated
Attribute Definition Threshold Operator Not Equal To - NOT_EQUAL_TO
- Equal
To - EQUAL_TO
- Greater
Than - GREATER_THAN
- Less
Than - LESS_THAN
- Not
Equal To - NOT_EQUAL_TO
- Equal
To - EQUAL_TO
- Greater
Than - GREATER_THAN
- Less
Than - LESS_THAN
- Not
Equal To - NOT_EQUAL_TO
- EQUAL_TO
- EQUAL_TO
- GREATER_THAN
- GREATER_THAN
- LESS_THAN
- LESS_THAN
- NOT_EQUAL_TO
- NOT_EQUAL_TO
- "EQUAL_TO"
- EQUAL_TO
- "GREATER_THAN"
- GREATER_THAN
- "LESS_THAN"
- LESS_THAN
- "NOT_EQUAL_TO"
- NOT_EQUAL_TO
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.