1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. customerprofiles
  5. getCalculatedAttributeDefinition

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 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.26.0 published on Wednesday, Mar 12, 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>
Copy
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]
Copy
func LookupCalculatedAttributeDefinition(ctx *Context, args *LookupCalculatedAttributeDefinitionArgs, opts ...InvokeOption) (*LookupCalculatedAttributeDefinitionResult, error)
func LookupCalculatedAttributeDefinitionOutput(ctx *Context, args *LookupCalculatedAttributeDefinitionOutputArgs, opts ...InvokeOption) LookupCalculatedAttributeDefinitionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCalculatedAttributeDefinitionResult> getCalculatedAttributeDefinition(GetCalculatedAttributeDefinitionArgs args, InvokeOptions options)
public static Output<GetCalculatedAttributeDefinitionResult> getCalculatedAttributeDefinition(GetCalculatedAttributeDefinitionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:customerprofiles:getCalculatedAttributeDefinition
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CalculatedAttributeName This property is required. string
The name of an attribute defined in a profile object type.
DomainName This property is required. string
The unique name of the domain.
CalculatedAttributeName This property is required. string
The name of an attribute defined in a profile object type.
DomainName This property is required. string
The unique name of the domain.
calculatedAttributeName This property is required. String
The name of an attribute defined in a profile object type.
domainName This property is required. String
The unique name of the domain.
calculatedAttributeName This property is required. string
The name of an attribute defined in a profile object type.
domainName This property is required. string
The unique name of the domain.
calculated_attribute_name This property is required. str
The name of an attribute defined in a profile object type.
domain_name This property is required. str
The unique name of the domain.
calculatedAttributeName This property is required. String
The name of an attribute defined in a profile object type.
domainName This property is required. String
The unique name of the domain.

getCalculatedAttributeDefinition Result

The following output properties are available:

AttributeDetails Pulumi.AwsNative.CustomerProfiles.Outputs.CalculatedAttributeDefinitionAttributeDetails
Mathematical expression and a list of attribute items specified in that expression.
Conditions Pulumi.AwsNative.CustomerProfiles.Outputs.CalculatedAttributeDefinitionConditions
The conditions including range, object count, and threshold for the calculated attribute.
CreatedAt string
The timestamp of when the calculated attribute definition was created.
Description string
The description of the calculated attribute.
DisplayName string
The display name of the calculated attribute.
LastUpdatedAt string
The timestamp of when the calculated attribute definition was most recently edited.
Statistic Pulumi.AwsNative.CustomerProfiles.CalculatedAttributeDefinitionStatistic
The aggregation operation to perform for the calculated attribute.
Tags List<Pulumi.AwsNative.Outputs.Tag>
An array of key-value pairs to apply to this resource.
AttributeDetails CalculatedAttributeDefinitionAttributeDetails
Mathematical expression and a list of attribute items specified in that expression.
Conditions CalculatedAttributeDefinitionConditions
The conditions including range, object count, and threshold for the calculated attribute.
CreatedAt string
The timestamp of when the calculated attribute definition was created.
Description string
The description of the calculated attribute.
DisplayName string
The display name of the calculated attribute.
LastUpdatedAt string
The timestamp of when the calculated attribute definition was most recently edited.
Statistic CalculatedAttributeDefinitionStatistic
The aggregation operation to perform for the calculated attribute.
Tags Tag
An array of key-value pairs to apply to this resource.
attributeDetails CalculatedAttributeDefinitionAttributeDetails
Mathematical expression and a list of attribute items specified in that expression.
conditions CalculatedAttributeDefinitionConditions
The conditions including range, object count, and threshold for the calculated attribute.
createdAt String
The timestamp of when the calculated attribute definition was created.
description String
The description of the calculated attribute.
displayName String
The display name of the calculated attribute.
lastUpdatedAt String
The timestamp of when the calculated attribute definition was most recently edited.
statistic CalculatedAttributeDefinitionStatistic
The aggregation operation to perform for the calculated attribute.
tags List<Tag>
An array of key-value pairs to apply to this resource.
attributeDetails CalculatedAttributeDefinitionAttributeDetails
Mathematical expression and a list of attribute items specified in that expression.
conditions CalculatedAttributeDefinitionConditions
The conditions including range, object count, and threshold for the calculated attribute.
createdAt string
The timestamp of when the calculated attribute definition was created.
description string
The description of the calculated attribute.
displayName string
The display name of the calculated attribute.
lastUpdatedAt string
The timestamp of when the calculated attribute definition was most recently edited.
statistic CalculatedAttributeDefinitionStatistic
The aggregation operation to perform for the calculated attribute.
tags Tag[]
An array of key-value pairs to apply to this resource.
attribute_details CalculatedAttributeDefinitionAttributeDetails
Mathematical expression and a list of attribute items specified in that expression.
conditions CalculatedAttributeDefinitionConditions
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_at str
The timestamp of when the calculated attribute definition was most recently edited.
statistic CalculatedAttributeDefinitionStatistic
The aggregation operation to perform for the calculated attribute.
tags Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
attributeDetails 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.
createdAt String
The timestamp of when the calculated attribute definition was created.
description String
The description of the calculated attribute.
displayName String
The display name of the calculated attribute.
lastUpdatedAt String
The timestamp of when the calculated attribute definition was most recently edited.
statistic "FIRST_OCCURRENCE" | "LAST_OCCURRENCE" | "COUNT" | "SUM" | "MINIMUM" | "MAXIMUM" | "AVERAGE" | "MAX_OCCURRENCE"
The aggregation operation to perform for the calculated attribute.
tags List<Property Map>
An array of key-value pairs to apply to this resource.

Supporting Types

CalculatedAttributeDefinitionAttributeDetails

Attributes This property is required. List<Pulumi.AwsNative.CustomerProfiles.Inputs.CalculatedAttributeDefinitionAttributeItem>
Mathematical expression and a list of attribute items specified in that expression.
Expression This property is required. 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 This property is required. []CalculatedAttributeDefinitionAttributeItem
Mathematical expression and a list of attribute items specified in that expression.
Expression This property is required. 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 This property is required. List<CalculatedAttributeDefinitionAttributeItem>
Mathematical expression and a list of attribute items specified in that expression.
expression This property is required. 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 This property is required. CalculatedAttributeDefinitionAttributeItem[]
Mathematical expression and a list of attribute items specified in that expression.
expression This property is required. 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 This property is required. Sequence[CalculatedAttributeDefinitionAttributeItem]
Mathematical expression and a list of attribute items specified in that expression.
expression This property is required. 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 This property is required. List<Property Map>
Mathematical expression and a list of attribute items specified in that expression.
expression This property is required. 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 This property is required. string
Name This property is required. string
name This property is required. String
name This property is required. string
name This property is required. str
name This property is required. String

CalculatedAttributeDefinitionConditions

ObjectCount int
The number of profile objects used for the calculated attribute.
Range Pulumi.AwsNative.CustomerProfiles.Inputs.CalculatedAttributeDefinitionRange
The relative time period over which data is included in the aggregation.
Threshold Pulumi.AwsNative.CustomerProfiles.Inputs.CalculatedAttributeDefinitionThreshold
The threshold for the calculated attribute.
ObjectCount int
The number of profile objects used for the calculated attribute.
Range CalculatedAttributeDefinitionRange
The relative time period over which data is included in the aggregation.
Threshold CalculatedAttributeDefinitionThreshold
The threshold for the calculated attribute.
objectCount Integer
The number of profile objects used for the calculated attribute.
range CalculatedAttributeDefinitionRange
The relative time period over which data is included in the aggregation.
threshold CalculatedAttributeDefinitionThreshold
The threshold for the calculated attribute.
objectCount number
The number of profile objects used for the calculated attribute.
range CalculatedAttributeDefinitionRange
The relative time period over which data is included in the aggregation.
threshold CalculatedAttributeDefinitionThreshold
The threshold for the calculated attribute.
object_count int
The number of profile objects used for the calculated attribute.
range CalculatedAttributeDefinitionRange
The relative time period over which data is included in the aggregation.
threshold CalculatedAttributeDefinitionThreshold
The threshold for the calculated attribute.
objectCount 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 This property is required. Pulumi.AwsNative.CustomerProfiles.CalculatedAttributeDefinitionRangeUnit
The unit of time.
Value This property is required. int
The amount of time of the specified unit.
Unit This property is required. CalculatedAttributeDefinitionRangeUnit
The unit of time.
Value This property is required. int
The amount of time of the specified unit.
unit This property is required. CalculatedAttributeDefinitionRangeUnit
The unit of time.
value This property is required. Integer
The amount of time of the specified unit.
unit This property is required. CalculatedAttributeDefinitionRangeUnit
The unit of time.
value This property is required. number
The amount of time of the specified unit.
unit This property is required. CalculatedAttributeDefinitionRangeUnit
The unit of time.
value This property is required. int
The amount of time of the specified unit.
unit This property is required. "DAYS"
The unit of time.
value This property is required. Number
The amount of time of the specified unit.

CalculatedAttributeDefinitionRangeUnit

CalculatedAttributeDefinitionStatistic

CalculatedAttributeDefinitionThreshold

Operator This property is required. Pulumi.AwsNative.CustomerProfiles.CalculatedAttributeDefinitionThresholdOperator
The operator of the threshold.
Value This property is required. string
The value of the threshold.
Operator This property is required. CalculatedAttributeDefinitionThresholdOperator
The operator of the threshold.
Value This property is required. string
The value of the threshold.
operator This property is required. CalculatedAttributeDefinitionThresholdOperator
The operator of the threshold.
value This property is required. String
The value of the threshold.
operator This property is required. CalculatedAttributeDefinitionThresholdOperator
The operator of the threshold.
value This property is required. string
The value of the threshold.
operator This property is required. CalculatedAttributeDefinitionThresholdOperator
The operator of the threshold.
value This property is required. str
The value of the threshold.
operator This property is required. "EQUAL_TO" | "GREATER_THAN" | "LESS_THAN" | "NOT_EQUAL_TO"
The operator of the threshold.
value This property is required. String
The value of the threshold.

CalculatedAttributeDefinitionThresholdOperator

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the 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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi