interface CfnObjectTypeProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CustomerProfiles.CfnObjectTypeProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscustomerprofiles#CfnObjectTypeProps |
![]() | software.amazon.awscdk.services.customerprofiles.CfnObjectTypeProps |
![]() | aws_cdk.aws_customerprofiles.CfnObjectTypeProps |
![]() | aws-cdk-lib » aws_customerprofiles » CfnObjectTypeProps |
Properties for defining a CfnObjectType
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const cfnObjectTypeProps: customerprofiles.CfnObjectTypeProps = {
description: 'description',
domainName: 'domainName',
objectTypeName: 'objectTypeName',
// the properties below are optional
allowProfileCreation: false,
encryptionKey: 'encryptionKey',
expirationDays: 123,
fields: [{
name: 'name',
objectTypeField: {
contentType: 'contentType',
source: 'source',
target: 'target',
},
}],
keys: [{
name: 'name',
objectTypeKeyList: [{
fieldNames: ['fieldNames'],
standardIdentifiers: ['standardIdentifiers'],
}],
}],
sourceLastUpdatedTimestampFormat: 'sourceLastUpdatedTimestampFormat',
tags: [{
key: 'key',
value: 'value',
}],
templateId: 'templateId',
};
Properties
Name | Type | Description |
---|---|---|
description | string | The description of the profile object type mapping. |
domain | string | The unique name of the domain. |
object | string | The name of the profile object type. |
allow | boolean | IResolvable | Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. |
encryption | string | The customer-provided key to encrypt the profile object that will be created in this profile object type mapping. |
expiration | number | The number of days until the data of this type expires. |
fields? | IResolvable | IResolvable | Field [] | A list of field definitions for the object type mapping. |
keys? | IResolvable | IResolvable | Key [] | A list of keys that can be used to map data to the profile or search for the profile. |
source | string | The format of your sourceLastUpdatedTimestamp that was previously set up. |
tags? | Cfn [] | The tags used to organize, track, or control access for this resource. |
template | string | A unique identifier for the template mapping. |
description
Type:
string
The description of the profile object type mapping.
domainName
Type:
string
The unique name of the domain.
objectTypeName
Type:
string
The name of the profile object type.
allowProfileCreation?
Type:
boolean |
IResolvable
(optional)
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.
The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
encryptionKey?
Type:
string
(optional)
The customer-provided key to encrypt the profile object that will be created in this profile object type mapping.
If not specified the system will use the encryption key of the domain.
expirationDays?
Type:
number
(optional)
The number of days until the data of this type expires.
fields?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
A list of field definitions for the object type mapping.
keys?
Type:
IResolvable
|
IResolvable
|
Key
[]
(optional)
A list of keys that can be used to map data to the profile or search for the profile.
sourceLastUpdatedTimestampFormat?
Type:
string
(optional)
The format of your sourceLastUpdatedTimestamp that was previously set up.
tags?
Type:
Cfn
[]
(optional)
The tags used to organize, track, or control access for this resource.
templateId?
Type:
string
(optional)
A unique identifier for the template mapping.
This can be used instead of specifying the Keys and Fields properties directly.