# CfnRecommenderSchemaProps

Properties for defining a `CfnRecommenderSchema`.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 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 cfnRecommenderSchemaProps: customerprofiles.CfnRecommenderSchemaProps = {
  domainName: 'domainName',
  fields: {
    fieldsKey: [{
      targetFieldName: 'targetFieldName',

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

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

## Properties

- `domainName`: string (required)

- `fields`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRecommenderSchema.RecommenderSchemaFieldProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnRecommenderSchema.RecommenderSchemaFieldProperty.html)[] } (required)

- `recommenderSchemaName`: string (required)

- `tags`: [CfnRecommenderSchema.TagsItemsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnRecommenderSchema.TagsItemsProperty.html)[]

## Used as props by

- [`CfnRecommenderSchema`](/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnRecommenderSchema)
