AWS Native is in preview. AWS Classic is fully supported.
aws-native.customerprofiles.CalculatedAttributeDefinition
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- Attribute
Details Pulumi.Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Attribute Details - Calculated
Attribute stringName - Domain
Name string - Statistic
Pulumi.
Aws Native. Customer Profiles. Calculated Attribute Definition Statistic - Conditions
Pulumi.
Aws Native. Customer Profiles. Inputs. Calculated Attribute Definition Conditions - Description string
- Display
Name string - List<Pulumi.
Aws Native. Inputs. Tag>
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
CalculatedAttributeDefinitionAttributeItem, CalculatedAttributeDefinitionAttributeItemArgs
- Name string
- Name string
- name String
- name string
- name str
- name String
CalculatedAttributeDefinitionConditions, CalculatedAttributeDefinitionConditionsArgs
CalculatedAttributeDefinitionRange, CalculatedAttributeDefinitionRangeArgs
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
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
AWS Native is in preview. AWS Classic is fully supported.