We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.31.0 published on Wednesday, Jul 16, 2025 by Pulumi
aws-native.customerprofiles.getCalculatedAttributeDefinition
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.31.0 published on Wednesday, Jul 16, 2025 by Pulumi
A calculated attribute definition for Customer Profiles
Using getCalculatedAttributeDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCalculatedAttributeDefinition(args: GetCalculatedAttributeDefinitionArgs, opts?: InvokeOptions): Promise<GetCalculatedAttributeDefinitionResult>
function getCalculatedAttributeDefinitionOutput(args: GetCalculatedAttributeDefinitionOutputArgs, opts?: InvokeOptions): Output<GetCalculatedAttributeDefinitionResult>
def get_calculated_attribute_definition(calculated_attribute_name: Optional[str] = None,
domain_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCalculatedAttributeDefinitionResult
def get_calculated_attribute_definition_output(calculated_attribute_name: Optional[pulumi.Input[str]] = None,
domain_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCalculatedAttributeDefinitionResult]
func LookupCalculatedAttributeDefinition(ctx *Context, args *LookupCalculatedAttributeDefinitionArgs, opts ...InvokeOption) (*LookupCalculatedAttributeDefinitionResult, error)
func LookupCalculatedAttributeDefinitionOutput(ctx *Context, args *LookupCalculatedAttributeDefinitionOutputArgs, opts ...InvokeOption) LookupCalculatedAttributeDefinitionResultOutput
> Note: This function is named LookupCalculatedAttributeDefinition
in the Go SDK.
public static class GetCalculatedAttributeDefinition
{
public static Task<GetCalculatedAttributeDefinitionResult> InvokeAsync(GetCalculatedAttributeDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetCalculatedAttributeDefinitionResult> Invoke(GetCalculatedAttributeDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCalculatedAttributeDefinitionResult> getCalculatedAttributeDefinition(GetCalculatedAttributeDefinitionArgs args, InvokeOptions options)
public static Output<GetCalculatedAttributeDefinitionResult> getCalculatedAttributeDefinition(GetCalculatedAttributeDefinitionArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:customerprofiles:getCalculatedAttributeDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Calculated
Attribute stringName - The name of an attribute defined in a profile object type.
- Domain
Name string - The unique name of the domain.
- Calculated
Attribute stringName - The name of an attribute defined in a profile object type.
- Domain
Name string - The unique name of the domain.
- calculated
Attribute StringName - The name of an attribute defined in a profile object type.
- domain
Name String - The unique name of the domain.
- calculated
Attribute stringName - The name of an attribute defined in a profile object type.
- domain
Name string - The unique name of the domain.
- calculated_
attribute_ strname - The name of an attribute defined in a profile object type.
- domain_
name str - The unique name of the domain.
- calculated
Attribute StringName - The name of an attribute defined in a profile object type.
- domain
Name String - The unique name of the domain.
getCalculatedAttributeDefinition Result
The following output properties are available:
- Attribute
Details Pulumi.Aws Native. Customer Profiles. Outputs. Calculated Attribute Definition Attribute Details - Mathematical expression and a list of attribute items specified in that expression.
- Conditions
Pulumi.
Aws Native. Customer Profiles. Outputs. Calculated Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- Created
At string - The timestamp of when the calculated attribute definition was created.
- Description string
- The description of the calculated attribute.
- Display
Name string - The display name of the calculated attribute.
- Last
Updated stringAt - The timestamp of when the calculated attribute definition was most recently edited.
- Readiness
Pulumi.
Aws Native. Customer Profiles. Outputs. Calculated Attribute Definition Readiness - Statistic
Pulumi.
Aws Native. Customer Profiles. Calculated Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- Status
Pulumi.
Aws Native. Customer Profiles. Calculated Attribute Definition Status - The status of the calculated attribute definition.
- List<Pulumi.
Aws Native. Outputs. 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.
- Conditions
Calculated
Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- Created
At string - The timestamp of when the calculated attribute definition was created.
- Description string
- The description of the calculated attribute.
- Display
Name string - The display name of the calculated attribute.
- Last
Updated stringAt - The timestamp of when the calculated attribute definition was most recently edited.
- Readiness
Calculated
Attribute Definition Readiness - Statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- Status
Calculated
Attribute Definition Status - The status of the calculated attribute definition.
- 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.
- conditions
Calculated
Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- created
At String - The timestamp of when the calculated attribute definition was created.
- description String
- The description of the calculated attribute.
- display
Name String - The display name of the calculated attribute.
- last
Updated StringAt - The timestamp of when the calculated attribute definition was most recently edited.
- readiness
Calculated
Attribute Definition Readiness - statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- status
Calculated
Attribute Definition Status - The status of the calculated attribute definition.
- 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.
- conditions
Calculated
Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- created
At string - The timestamp of when the calculated attribute definition was created.
- description string
- The description of the calculated attribute.
- display
Name string - The display name of the calculated attribute.
- last
Updated stringAt - The timestamp of when the calculated attribute definition was most recently edited.
- readiness
Calculated
Attribute Definition Readiness - statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- status
Calculated
Attribute Definition Status - The status of the calculated attribute definition.
- 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.
- conditions
Calculated
Attribute Definition Conditions - The conditions including range, object count, and threshold for the calculated attribute.
- created_
at str - The timestamp of when the calculated attribute definition was created.
- description str
- The description of the calculated attribute.
- display_
name str - The display name of the calculated attribute.
- last_
updated_ strat - The timestamp of when the calculated attribute definition was most recently edited.
- readiness
Calculated
Attribute Definition Readiness - statistic
Calculated
Attribute Definition Statistic - The aggregation operation to perform for the calculated attribute.
- status
Calculated
Attribute Definition Status - The status of the calculated attribute definition.
- Sequence[root_Tag]
- 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.
- conditions Property Map
- The conditions including range, object count, and threshold for the calculated attribute.
- created
At String - The timestamp of when the calculated attribute definition was created.
- description String
- The description of the calculated attribute.
- display
Name String - The display name of the calculated attribute.
- last
Updated StringAt - The timestamp of when the calculated attribute definition was most recently edited.
- readiness Property Map
- statistic "FIRST_OCCURRENCE" | "LAST_OCCURRENCE" | "COUNT" | "SUM" | "MINIMUM" | "MAXIMUM" | "AVERAGE" | "MAX_OCCURRENCE"
- The aggregation operation to perform for the calculated attribute.
- status "IN_PROGRESS" | "PREPARING" | "COMPLETED" | "FAILED"
- The status of the calculated attribute definition.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
CalculatedAttributeDefinitionAttributeDetails
- 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
- Name string
- Name string
- name String
- name string
- name str
- name String
CalculatedAttributeDefinitionConditions
- 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
- Unit
Pulumi.
Aws Native. Customer Profiles. Calculated Attribute Definition Range Unit - The unit of time.
- Timestamp
Format string - The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
- Timestamp
Source string - An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
- Value int
- The amount of time of the specified unit.
- Value
Range Pulumi.Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Value Range
- Unit
Calculated
Attribute Definition Range Unit - The unit of time.
- Timestamp
Format string - The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
- Timestamp
Source string - An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
- Value int
- The amount of time of the specified unit.
- Value
Range CalculatedAttribute Definition Value Range
- unit
Calculated
Attribute Definition Range Unit - The unit of time.
- timestamp
Format String - The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
- timestamp
Source String - An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
- value Integer
- The amount of time of the specified unit.
- value
Range CalculatedAttribute Definition Value Range
- unit
Calculated
Attribute Definition Range Unit - The unit of time.
- timestamp
Format string - The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
- timestamp
Source string - An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
- value number
- The amount of time of the specified unit.
- value
Range CalculatedAttribute Definition Value Range
- unit
Calculated
Attribute Definition Range Unit - The unit of time.
- timestamp_
format str - The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
- timestamp_
source str - An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
- value int
- The amount of time of the specified unit.
- value_
range CalculatedAttribute Definition Value Range
- unit "DAYS"
- The unit of time.
- timestamp
Format String - The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
- timestamp
Source String - An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of "{ObjectTypeName.}". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
- value Number
- The amount of time of the specified unit.
- value
Range Property Map
CalculatedAttributeDefinitionRangeUnit
CalculatedAttributeDefinitionReadiness
- Message string
- Any information pertaining to the status of the calculated attribute if required.
- Progress
Percentage int - The progress percentage for including historical data in your calculated attribute.
- Message string
- Any information pertaining to the status of the calculated attribute if required.
- Progress
Percentage int - The progress percentage for including historical data in your calculated attribute.
- message String
- Any information pertaining to the status of the calculated attribute if required.
- progress
Percentage Integer - The progress percentage for including historical data in your calculated attribute.
- message string
- Any information pertaining to the status of the calculated attribute if required.
- progress
Percentage number - The progress percentage for including historical data in your calculated attribute.
- message str
- Any information pertaining to the status of the calculated attribute if required.
- progress_
percentage int - The progress percentage for including historical data in your calculated attribute.
- message String
- Any information pertaining to the status of the calculated attribute if required.
- progress
Percentage Number - The progress percentage for including historical data in your calculated attribute.
CalculatedAttributeDefinitionStatistic
CalculatedAttributeDefinitionStatus
CalculatedAttributeDefinitionThreshold
- 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
CalculatedAttributeDefinitionValueRange
- End int
- The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- Start int
- The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- End int
- The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- Start int
- The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- end Integer
- The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- start Integer
- The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- end number
- The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- start number
- The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- end int
- The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- start int
- The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- end Number
- The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
- start Number
- The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.31.0 published on Wednesday, Jul 16, 2025 by Pulumi