# EntityRecognitionConfigProperty

Configuration required for an entity recognition model.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_comprehend as comprehend } from 'aws-cdk-lib';
const entityRecognitionConfigProperty: comprehend.CfnFlywheel.EntityRecognitionConfigProperty = {
  entityTypes: [{
    type: 'type',
  }],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_comprehend as comprehend

entity_recognition_config_property = comprehend.CfnFlywheel.EntityRecognitionConfigProperty(
    entity_types=[comprehend.CfnFlywheel.EntityTypesListItemProperty(
        type="type"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.comprehend.*;

EntityRecognitionConfigProperty entityRecognitionConfigProperty = EntityRecognitionConfigProperty.builder()
        .entityTypes(List.of(EntityTypesListItemProperty.builder()
                .type("type")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Comprehend;

var entityRecognitionConfigProperty = new EntityRecognitionConfigProperty {
    EntityTypes = new [] { new EntityTypesListItemProperty {
        Type = "type"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

entityRecognitionConfigProperty := &EntityRecognitionConfigProperty{
	EntityTypes: []interface{}{
		&EntityTypesListItemProperty{
			Type: jsii.String("type"),
		},
	},
}
```

## Properties

- `entityTypes`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlywheel.EntityTypesListItemProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_comprehend.CfnFlywheel.EntityTypesListItemProperty.html)[] — Up to 25 entity types that the model is trained to recognize.
