# CfnDomainObjectTypeProps

Properties for defining a `CfnDomainObjectType`.

Extends: CfnDomainObjectTypeProps
Used as props by: CfnDomainObjectType

- Source: Generated code
- Type last changed: v2.253.0 · 6 May 2026

## Example

```ts
// 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 cfnDomainObjectTypeProps: customerprofiles.CfnDomainObjectTypeProps = {
  domainName: 'domainName',
  fields: {
    fieldsKey: {
      source: 'source',
      target: 'target',

      // the properties below are optional
      contentType: 'contentType',
      featureType: 'featureType',
    },
  },
  objectTypeName: 'objectTypeName',

  // the properties below are optional
  description: 'description',
  encryptionKey: 'encryptionKey',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `description`: string — Description of the domain object type.

- `domainName`: string (required) — The unique name of the domain.

- `encryptionKey`: string — The default encryption key.

- `fields`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDomainObjectType.DomainObjectTypeFieldProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnDomainObjectType.DomainObjectTypeFieldProperty.html) } (required) — A map of the name and ObjectType field.

- `objectTypeName`: string (required) — The name of the domain object type.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.
