We recommend new projects start with resources from the AWS provider.
aws-native.customerprofiles.ObjectType
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
An ObjectType resource of Amazon Connect Customer Profiles
Create ObjectType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectType(name: string, args: ObjectTypeArgs, opts?: CustomResourceOptions);
@overload
def ObjectType(resource_name: str,
args: ObjectTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectType(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
domain_name: Optional[str] = None,
allow_profile_creation: Optional[bool] = None,
encryption_key: Optional[str] = None,
expiration_days: Optional[int] = None,
fields: Optional[Sequence[ObjectTypeFieldMapArgs]] = None,
keys: Optional[Sequence[ObjectTypeKeyMapArgs]] = None,
object_type_name: Optional[str] = None,
source_last_updated_timestamp_format: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
template_id: Optional[str] = None)
func NewObjectType(ctx *Context, name string, args ObjectTypeArgs, opts ...ResourceOption) (*ObjectType, error)
public ObjectType(string name, ObjectTypeArgs args, CustomResourceOptions? opts = null)
public ObjectType(String name, ObjectTypeArgs args)
public ObjectType(String name, ObjectTypeArgs args, CustomResourceOptions options)
type: aws-native:customerprofiles:ObjectType
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 ObjectTypeArgs
- 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 ObjectTypeArgs
- 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 ObjectTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectTypeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ObjectType 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 ObjectType resource accepts the following input properties:
- Description string
- Description of the profile object type.
- Domain
Name string - The unique name of the domain.
- Allow
Profile boolCreation - Indicates whether a profile should be created when data is received.
- Encryption
Key string - The default encryption key
- Expiration
Days int - The default number of days until the data within the domain expires.
- Fields
List<Pulumi.
Aws Native. Customer Profiles. Inputs. Object Type Field Map> - A list of the name and ObjectType field.
- Keys
List<Pulumi.
Aws Native. Customer Profiles. Inputs. Object Type Key Map> - A list of unique keys that can be used to map data to the profile.
- Object
Type stringName - The name of the profile object type.
- Source
Last stringUpdated Timestamp Format - The format of your sourceLastUpdatedTimestamp that was previously set up.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags (keys and values) associated with the integration.
- Template
Id string - A unique identifier for the object template.
- Description string
- Description of the profile object type.
- Domain
Name string - The unique name of the domain.
- Allow
Profile boolCreation - Indicates whether a profile should be created when data is received.
- Encryption
Key string - The default encryption key
- Expiration
Days int - The default number of days until the data within the domain expires.
- Fields
[]Object
Type Field Map Args - A list of the name and ObjectType field.
- Keys
[]Object
Type Key Map Args - A list of unique keys that can be used to map data to the profile.
- Object
Type stringName - The name of the profile object type.
- Source
Last stringUpdated Timestamp Format - The format of your sourceLastUpdatedTimestamp that was previously set up.
- Tag
Args - The tags (keys and values) associated with the integration.
- Template
Id string - A unique identifier for the object template.
- description String
- Description of the profile object type.
- domain
Name String - The unique name of the domain.
- allow
Profile BooleanCreation - Indicates whether a profile should be created when data is received.
- encryption
Key String - The default encryption key
- expiration
Days Integer - The default number of days until the data within the domain expires.
- fields
List<Object
Type Field Map> - A list of the name and ObjectType field.
- keys
List<Object
Type Key Map> - A list of unique keys that can be used to map data to the profile.
- object
Type StringName - The name of the profile object type.
- source
Last StringUpdated Timestamp Format - The format of your sourceLastUpdatedTimestamp that was previously set up.
- List<Tag>
- The tags (keys and values) associated with the integration.
- template
Id String - A unique identifier for the object template.
- description string
- Description of the profile object type.
- domain
Name string - The unique name of the domain.
- allow
Profile booleanCreation - Indicates whether a profile should be created when data is received.
- encryption
Key string - The default encryption key
- expiration
Days number - The default number of days until the data within the domain expires.
- fields
Object
Type Field Map[] - A list of the name and ObjectType field.
- keys
Object
Type Key Map[] - A list of unique keys that can be used to map data to the profile.
- object
Type stringName - The name of the profile object type.
- source
Last stringUpdated Timestamp Format - The format of your sourceLastUpdatedTimestamp that was previously set up.
- Tag[]
- The tags (keys and values) associated with the integration.
- template
Id string - A unique identifier for the object template.
- description str
- Description of the profile object type.
- domain_
name str - The unique name of the domain.
- allow_
profile_ boolcreation - Indicates whether a profile should be created when data is received.
- encryption_
key str - The default encryption key
- expiration_
days int - The default number of days until the data within the domain expires.
- fields
Sequence[Object
Type Field Map Args] - A list of the name and ObjectType field.
- keys
Sequence[Object
Type Key Map Args] - A list of unique keys that can be used to map data to the profile.
- object_
type_ strname - The name of the profile object type.
- source_
last_ strupdated_ timestamp_ format - The format of your sourceLastUpdatedTimestamp that was previously set up.
- Sequence[Tag
Args] - The tags (keys and values) associated with the integration.
- template_
id str - A unique identifier for the object template.
- description String
- Description of the profile object type.
- domain
Name String - The unique name of the domain.
- allow
Profile BooleanCreation - Indicates whether a profile should be created when data is received.
- encryption
Key String - The default encryption key
- expiration
Days Number - The default number of days until the data within the domain expires.
- fields List<Property Map>
- A list of the name and ObjectType field.
- keys List<Property Map>
- A list of unique keys that can be used to map data to the profile.
- object
Type StringName - The name of the profile object type.
- source
Last StringUpdated Timestamp Format - The format of your sourceLastUpdatedTimestamp that was previously set up.
- List<Property Map>
- The tags (keys and values) associated with the integration.
- template
Id String - A unique identifier for the object template.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectType resource produces the following output properties:
- Created
At string - The time of this integration got created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - The time of this integration got last updated at.
- Created
At string - The time of this integration got created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringAt - The time of this integration got last updated at.
- created
At String - The time of this integration got created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - The time of this integration got last updated at.
- created
At string - The time of this integration got created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringAt - The time of this integration got last updated at.
- created_
at str - The time of this integration got created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strat - The time of this integration got last updated at.
- created
At String - The time of this integration got created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringAt - The time of this integration got last updated at.
Supporting Types
ObjectTypeField, ObjectTypeFieldArgs
- Content
Type Pulumi.Aws Native. Customer Profiles. Object Type Field Content Type - The content type of the field. Used for determining equality when searching.
- Source string
- A field of a ProfileObject. For example: _source.FirstName, where "_source" is a ProfileObjectType of a Zendesk user and "FirstName" is a field in that ObjectType.
- Target string
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
- Content
Type ObjectType Field Content Type - The content type of the field. Used for determining equality when searching.
- Source string
- A field of a ProfileObject. For example: _source.FirstName, where "_source" is a ProfileObjectType of a Zendesk user and "FirstName" is a field in that ObjectType.
- Target string
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
- content
Type ObjectType Field Content Type - The content type of the field. Used for determining equality when searching.
- source String
- A field of a ProfileObject. For example: _source.FirstName, where "_source" is a ProfileObjectType of a Zendesk user and "FirstName" is a field in that ObjectType.
- target String
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
- content
Type ObjectType Field Content Type - The content type of the field. Used for determining equality when searching.
- source string
- A field of a ProfileObject. For example: _source.FirstName, where "_source" is a ProfileObjectType of a Zendesk user and "FirstName" is a field in that ObjectType.
- target string
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
- content_
type ObjectType Field Content Type - The content type of the field. Used for determining equality when searching.
- source str
- A field of a ProfileObject. For example: _source.FirstName, where "_source" is a ProfileObjectType of a Zendesk user and "FirstName" is a field in that ObjectType.
- target str
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
- content
Type "STRING" | "NUMBER" | "PHONE_NUMBER" | "EMAIL_ADDRESS" | "NAME" - The content type of the field. Used for determining equality when searching.
- source String
- A field of a ProfileObject. For example: _source.FirstName, where "_source" is a ProfileObjectType of a Zendesk user and "FirstName" is a field in that ObjectType.
- target String
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
ObjectTypeFieldContentType, ObjectTypeFieldContentTypeArgs
- String
- STRING
- Number
- NUMBER
- Phone
Number - PHONE_NUMBER
- Email
Address - EMAIL_ADDRESS
- Name
- NAME
- Object
Type Field Content Type String - STRING
- Object
Type Field Content Type Number - NUMBER
- Object
Type Field Content Type Phone Number - PHONE_NUMBER
- Object
Type Field Content Type Email Address - EMAIL_ADDRESS
- Object
Type Field Content Type Name - NAME
- String
- STRING
- Number
- NUMBER
- Phone
Number - PHONE_NUMBER
- Email
Address - EMAIL_ADDRESS
- Name
- NAME
- String
- STRING
- Number
- NUMBER
- Phone
Number - PHONE_NUMBER
- Email
Address - EMAIL_ADDRESS
- Name
- NAME
- STRING
- STRING
- NUMBER
- NUMBER
- PHONE_NUMBER
- PHONE_NUMBER
- EMAIL_ADDRESS
- EMAIL_ADDRESS
- NAME
- NAME
- "STRING"
- STRING
- "NUMBER"
- NUMBER
- "PHONE_NUMBER"
- PHONE_NUMBER
- "EMAIL_ADDRESS"
- EMAIL_ADDRESS
- "NAME"
- NAME
ObjectTypeFieldMap, ObjectTypeFieldMapArgs
- Name string
- Name of the field.
- Object
Type Pulumi.Field Aws Native. Customer Profiles. Inputs. Object Type Field - Represents a field in a ProfileObjectType.
- Name string
- Name of the field.
- Object
Type ObjectField Type Field - Represents a field in a ProfileObjectType.
- name String
- Name of the field.
- object
Type ObjectField Type Field - Represents a field in a ProfileObjectType.
- name string
- Name of the field.
- object
Type ObjectField Type Field - Represents a field in a ProfileObjectType.
- name str
- Name of the field.
- object_
type_ Objectfield Type Field - Represents a field in a ProfileObjectType.
- name String
- Name of the field.
- object
Type Property MapField - Represents a field in a ProfileObjectType.
ObjectTypeKey, ObjectTypeKeyArgs
- Field
Names List<string> - The reference for the key name of the fields map.
- Standard
Identifiers List<Pulumi.Aws Native. Customer Profiles. Object Type Key Standard Identifiers Item> - The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
- Field
Names []string - The reference for the key name of the fields map.
- Standard
Identifiers []ObjectType Key Standard Identifiers Item - The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
- field
Names List<String> - The reference for the key name of the fields map.
- standard
Identifiers List<ObjectType Key Standard Identifiers Item> - The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
- field
Names string[] - The reference for the key name of the fields map.
- standard
Identifiers ObjectType Key Standard Identifiers Item[] - The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
- field_
names Sequence[str] - The reference for the key name of the fields map.
- standard_
identifiers Sequence[ObjectType Key Standard Identifiers Item] - The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
- field
Names List<String> - The reference for the key name of the fields map.
- standard
Identifiers List<"PROFILE" | "UNIQUE" | "SECONDARY" | "LOOKUP_ONLY" | "NEW_ONLY" | "ASSET" | "CASE" | "ORDER"> - The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.
ObjectTypeKeyMap, ObjectTypeKeyMapArgs
- Name string
- Name of the key.
- Object
Type List<Pulumi.Key List Aws Native. Customer Profiles. Inputs. Object Type Key> - A list of ObjectTypeKey.
- Name string
- Name of the key.
- Object
Type []ObjectKey List Type Key - A list of ObjectTypeKey.
- name String
- Name of the key.
- object
Type List<ObjectKey List Type Key> - A list of ObjectTypeKey.
- name string
- Name of the key.
- object
Type ObjectKey List Type Key[] - A list of ObjectTypeKey.
- name str
- Name of the key.
- object_
type_ Sequence[Objectkey_ list Type Key] - A list of ObjectTypeKey.
- name String
- Name of the key.
- object
Type List<Property Map>Key List - A list of ObjectTypeKey.
ObjectTypeKeyStandardIdentifiersItem, ObjectTypeKeyStandardIdentifiersItemArgs
- Profile
- PROFILE
- Unique
- UNIQUE
- Secondary
- SECONDARY
- Lookup
Only - LOOKUP_ONLY
- New
Only - NEW_ONLY
- Asset
- ASSET
- Case
- CASE
- Order
- ORDER
- Object
Type Key Standard Identifiers Item Profile - PROFILE
- Object
Type Key Standard Identifiers Item Unique - UNIQUE
- Object
Type Key Standard Identifiers Item Secondary - SECONDARY
- Object
Type Key Standard Identifiers Item Lookup Only - LOOKUP_ONLY
- Object
Type Key Standard Identifiers Item New Only - NEW_ONLY
- Object
Type Key Standard Identifiers Item Asset - ASSET
- Object
Type Key Standard Identifiers Item Case - CASE
- Object
Type Key Standard Identifiers Item Order - ORDER
- Profile
- PROFILE
- Unique
- UNIQUE
- Secondary
- SECONDARY
- Lookup
Only - LOOKUP_ONLY
- New
Only - NEW_ONLY
- Asset
- ASSET
- Case
- CASE
- Order
- ORDER
- Profile
- PROFILE
- Unique
- UNIQUE
- Secondary
- SECONDARY
- Lookup
Only - LOOKUP_ONLY
- New
Only - NEW_ONLY
- Asset
- ASSET
- Case
- CASE
- Order
- ORDER
- PROFILE
- PROFILE
- UNIQUE
- UNIQUE
- SECONDARY
- SECONDARY
- LOOKUP_ONLY
- LOOKUP_ONLY
- NEW_ONLY
- NEW_ONLY
- ASSET
- ASSET
- CASE
- CASE
- ORDER
- ORDER
- "PROFILE"
- PROFILE
- "UNIQUE"
- UNIQUE
- "SECONDARY"
- SECONDARY
- "LOOKUP_ONLY"
- LOOKUP_ONLY
- "NEW_ONLY"
- NEW_ONLY
- "ASSET"
- ASSET
- "CASE"
- CASE
- "ORDER"
- ORDER
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.