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

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.customerprofiles.CalculatedAttributeDefinition

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    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:

    AttributeDetails Pulumi.AwsNative.CustomerProfiles.Inputs.CalculatedAttributeDefinitionAttributeDetails
    Mathematical expression and a list of attribute items specified in that expression.
    CalculatedAttributeName string
    The name of an attribute defined in a profile object type.
    DomainName string
    The unique name of the domain.
    Statistic Pulumi.AwsNative.CustomerProfiles.CalculatedAttributeDefinitionStatistic
    The aggregation operation to perform for the calculated attribute.
    Conditions Pulumi.AwsNative.CustomerProfiles.Inputs.CalculatedAttributeDefinitionConditions
    The conditions including range, object count, and threshold for the calculated attribute.
    Description string
    The description of the calculated attribute.
    DisplayName string
    The display name of the calculated attribute.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    AttributeDetails CalculatedAttributeDefinitionAttributeDetailsArgs
    Mathematical expression and a list of attribute items specified in that expression.
    CalculatedAttributeName string
    The name of an attribute defined in a profile object type.
    DomainName string
    The unique name of the domain.
    Statistic CalculatedAttributeDefinitionStatistic
    The aggregation operation to perform for the calculated attribute.
    Conditions CalculatedAttributeDefinitionConditionsArgs
    The conditions including range, object count, and threshold for the calculated attribute.
    Description string
    The description of the calculated attribute.
    DisplayName string
    The display name of the calculated attribute.
    Tags TagArgs
    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.
    calculatedAttributeName String
    The name of an attribute defined in a profile object type.
    domainName String
    The unique name of the domain.
    statistic CalculatedAttributeDefinitionStatistic
    The aggregation operation to perform for the calculated attribute.
    conditions CalculatedAttributeDefinitionConditions
    The conditions including range, object count, and threshold for the calculated attribute.
    description String
    The description of the calculated attribute.
    displayName String
    The display name of 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.
    calculatedAttributeName string
    The name of an attribute defined in a profile object type.
    domainName string
    The unique name of the domain.
    statistic CalculatedAttributeDefinitionStatistic
    The aggregation operation to perform for the calculated attribute.
    conditions CalculatedAttributeDefinitionConditions
    The conditions including range, object count, and threshold for the calculated attribute.
    description string
    The description of the calculated attribute.
    displayName string
    The display name of the calculated attribute.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    attribute_details CalculatedAttributeDefinitionAttributeDetailsArgs
    Mathematical expression and a list of attribute items specified in that expression.
    calculated_attribute_name str
    The name of an attribute defined in a profile object type.
    domain_name str
    The unique name of the domain.
    statistic CalculatedAttributeDefinitionStatistic
    The aggregation operation to perform for the calculated attribute.
    conditions CalculatedAttributeDefinitionConditionsArgs
    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.
    tags Sequence[TagArgs]
    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.
    calculatedAttributeName String
    The name of an attribute defined in a profile object type.
    domainName 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.
    displayName String
    The display name of the calculated attribute.
    tags 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:

    CreatedAt string
    The timestamp of when the calculated attribute definition was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    The timestamp of when the calculated attribute definition was most recently edited.
    CreatedAt string
    The timestamp of when the calculated attribute definition was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedAt string
    The timestamp of when the calculated attribute definition was most recently edited.
    createdAt String
    The timestamp of when the calculated attribute definition was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    The timestamp of when the calculated attribute definition was most recently edited.
    createdAt string
    The timestamp of when the calculated attribute definition was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt string
    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_at str
    The timestamp of when the calculated attribute definition was most recently edited.
    createdAt String
    The timestamp of when the calculated attribute definition was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedAt String
    The timestamp of when the calculated attribute definition was most recently edited.

    Supporting Types

    CalculatedAttributeDefinitionAttributeDetails, CalculatedAttributeDefinitionAttributeDetailsArgs

    Attributes List<Pulumi.AwsNative.CustomerProfiles.Inputs.CalculatedAttributeDefinitionAttributeItem>
    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 []CalculatedAttributeDefinitionAttributeItem
    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<CalculatedAttributeDefinitionAttributeItem>
    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 CalculatedAttributeDefinitionAttributeItem[]
    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[CalculatedAttributeDefinitionAttributeItem]
    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

    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, CalculatedAttributeDefinitionRangeArgs

    Unit Pulumi.AwsNative.CustomerProfiles.CalculatedAttributeDefinitionRangeUnit
    The unit of time.
    Value int
    The amount of time of the specified unit.
    Unit CalculatedAttributeDefinitionRangeUnit
    The unit of time.
    Value int
    The amount of time of the specified unit.
    unit CalculatedAttributeDefinitionRangeUnit
    The unit of time.
    value Integer
    The amount of time of the specified unit.
    unit CalculatedAttributeDefinitionRangeUnit
    The unit of time.
    value number
    The amount of time of the specified unit.
    unit CalculatedAttributeDefinitionRangeUnit
    The unit of time.
    value int
    The amount of time of the specified unit.
    unit "DAYS"
    The unit of time.
    value Number
    The amount of time of the specified unit.

    CalculatedAttributeDefinitionRangeUnit, CalculatedAttributeDefinitionRangeUnitArgs

    Days
    DAYS
    CalculatedAttributeDefinitionRangeUnitDays
    DAYS
    Days
    DAYS
    Days
    DAYS
    DAYS
    DAYS
    "DAYS"
    DAYS

    CalculatedAttributeDefinitionStatistic, CalculatedAttributeDefinitionStatisticArgs

    FirstOccurrence
    FIRST_OCCURRENCE
    LastOccurrence
    LAST_OCCURRENCE
    Count
    COUNT
    Sum
    SUM
    Minimum
    MINIMUM
    Maximum
    MAXIMUM
    Average
    AVERAGE
    MaxOccurrence
    MAX_OCCURRENCE
    CalculatedAttributeDefinitionStatisticFirstOccurrence
    FIRST_OCCURRENCE
    CalculatedAttributeDefinitionStatisticLastOccurrence
    LAST_OCCURRENCE
    CalculatedAttributeDefinitionStatisticCount
    COUNT
    CalculatedAttributeDefinitionStatisticSum
    SUM
    CalculatedAttributeDefinitionStatisticMinimum
    MINIMUM
    CalculatedAttributeDefinitionStatisticMaximum
    MAXIMUM
    CalculatedAttributeDefinitionStatisticAverage
    AVERAGE
    CalculatedAttributeDefinitionStatisticMaxOccurrence
    MAX_OCCURRENCE
    FirstOccurrence
    FIRST_OCCURRENCE
    LastOccurrence
    LAST_OCCURRENCE
    Count
    COUNT
    Sum
    SUM
    Minimum
    MINIMUM
    Maximum
    MAXIMUM
    Average
    AVERAGE
    MaxOccurrence
    MAX_OCCURRENCE
    FirstOccurrence
    FIRST_OCCURRENCE
    LastOccurrence
    LAST_OCCURRENCE
    Count
    COUNT
    Sum
    SUM
    Minimum
    MINIMUM
    Maximum
    MAXIMUM
    Average
    AVERAGE
    MaxOccurrence
    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.AwsNative.CustomerProfiles.CalculatedAttributeDefinitionThresholdOperator
    The operator of the threshold.
    Value string
    The value of the threshold.
    Operator CalculatedAttributeDefinitionThresholdOperator
    The operator of the threshold.
    Value string
    The value of the threshold.
    operator CalculatedAttributeDefinitionThresholdOperator
    The operator of the threshold.
    value String
    The value of the threshold.
    operator CalculatedAttributeDefinitionThresholdOperator
    The operator of the threshold.
    value string
    The value of the threshold.
    operator CalculatedAttributeDefinitionThresholdOperator
    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

    EqualTo
    EQUAL_TO
    GreaterThan
    GREATER_THAN
    LessThan
    LESS_THAN
    NotEqualTo
    NOT_EQUAL_TO
    CalculatedAttributeDefinitionThresholdOperatorEqualTo
    EQUAL_TO
    CalculatedAttributeDefinitionThresholdOperatorGreaterThan
    GREATER_THAN
    CalculatedAttributeDefinitionThresholdOperatorLessThan
    LESS_THAN
    CalculatedAttributeDefinitionThresholdOperatorNotEqualTo
    NOT_EQUAL_TO
    EqualTo
    EQUAL_TO
    GreaterThan
    GREATER_THAN
    LessThan
    LESS_THAN
    NotEqualTo
    NOT_EQUAL_TO
    EqualTo
    EQUAL_TO
    GreaterThan
    GREATER_THAN
    LessThan
    LESS_THAN
    NotEqualTo
    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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi