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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.customerprofiles.CalculatedAttributeDefinition

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const calculatedAttributeDefinitionResource = new aws_native.customerprofiles.CalculatedAttributeDefinition("calculatedAttributeDefinitionResource", {
        attributeDetails: {
            attributes: [{
                name: "string",
            }],
            expression: "string",
        },
        calculatedAttributeName: "string",
        domainName: "string",
        statistic: aws_native.customerprofiles.CalculatedAttributeDefinitionStatistic.FirstOccurrence,
        conditions: {
            objectCount: 0,
            range: {
                unit: aws_native.customerprofiles.CalculatedAttributeDefinitionRangeUnit.Days,
                value: 0,
            },
            threshold: {
                operator: aws_native.customerprofiles.CalculatedAttributeDefinitionThresholdOperator.EqualTo,
                value: "string",
            },
        },
        description: "string",
        displayName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    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

    The CalculatedAttributeDefinition resource accepts the following input properties:

    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

    CalculatedAttributeDefinitionAttributeItem, CalculatedAttributeDefinitionAttributeItemArgs

    Name string
    Name string
    name String
    name string
    name str
    name String

    CalculatedAttributeDefinitionConditions, CalculatedAttributeDefinitionConditionsArgs

    CalculatedAttributeDefinitionRange, CalculatedAttributeDefinitionRangeArgs

    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

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi