aws-cdk-lib.aws_customerprofiles.CfnObjectTypeProps

interface CfnObjectTypeProps

LanguageType name
.NETAmazon.CDK.AWS.CustomerProfiles.CfnObjectTypeProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscustomerprofiles#CfnObjectTypeProps
Javasoftware.amazon.awscdk.services.customerprofiles.CfnObjectTypeProps
Pythonaws_cdk.aws_customerprofiles.CfnObjectTypeProps
TypeScript 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 = {
  domainName: 'domainName',

  // the properties below are optional
  allowProfileCreation: false,
  description: 'description',
  encryptionKey: 'encryptionKey',
  expirationDays: 123,
  fields: [{
    name: 'name',
    objectTypeField: {
      contentType: 'contentType',
      source: 'source',
      target: 'target',
    },
  }],
  keys: [{
    name: 'name',
    objectTypeKeyList: [{
      fieldNames: ['fieldNames'],
      standardIdentifiers: ['standardIdentifiers'],
    }],
  }],
  objectTypeName: 'objectTypeName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  templateId: 'templateId',
};

Properties

NameTypeDescription
domainNamestringThe unique name of the domain.
allowProfileCreation?boolean | IResolvableIndicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.
description?stringThe description of the profile object type mapping.
encryptionKey?stringThe customer-provided key to encrypt the profile object that will be created in this profile object type mapping.
expirationDays?numberThe number of days until the data of this type expires.
fields?IResolvable | IResolvable | FieldMapProperty[]A list of field definitions for the object type mapping.
keys?IResolvable | IResolvable | KeyMapProperty[]A list of keys that can be used to map data to the profile or search for the profile.
objectTypeName?stringThe name of the profile object type.
tags?CfnTag[]The tags used to organize, track, or control access for this resource.
templateId?stringA unique identifier for the template mapping.

domainName

Type: string

The unique name of the domain.


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.


description?

Type: string (optional)

The description of the profile object type mapping.


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 | FieldMapProperty[] (optional)

A list of field definitions for the object type mapping.


keys?

Type: IResolvable | IResolvable | KeyMapProperty[] (optional)

A list of keys that can be used to map data to the profile or search for the profile.


objectTypeName?

Type: string (optional)

The name of the profile object type.


tags?

Type: CfnTag[] (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.