# EntityDetectorConfigurationProperty

Configuration of entity detection for a profile job.

When undefined, entity detection is disabled.

- 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_databrew as databrew } from 'aws-cdk-lib';
const entityDetectorConfigurationProperty: databrew.CfnJob.EntityDetectorConfigurationProperty = {
  entityTypes: ['entityTypes'],

  // the properties below are optional
  allowedStatistics: {
    statistics: ['statistics'],
  },
};
```

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_databrew as databrew

entity_detector_configuration_property = databrew.CfnJob.EntityDetectorConfigurationProperty(
    entity_types=["entityTypes"],

    # the properties below are optional
    allowed_statistics=databrew.CfnJob.AllowedStatisticsProperty(
        statistics=["statistics"]
    )
)
```

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.databrew.*;

EntityDetectorConfigurationProperty entityDetectorConfigurationProperty = EntityDetectorConfigurationProperty.builder()
        .entityTypes(List.of("entityTypes"))

        // the properties below are optional
        .allowedStatistics(AllowedStatisticsProperty.builder()
                .statistics(List.of("statistics"))
                .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.DataBrew;

var entityDetectorConfigurationProperty = new EntityDetectorConfigurationProperty {
    EntityTypes = new [] { "entityTypes" },

    // the properties below are optional
    AllowedStatistics = new AllowedStatisticsProperty {
        Statistics = new [] { "statistics" }
    }
};
```

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"

entityDetectorConfigurationProperty := &EntityDetectorConfigurationProperty{
	EntityTypes: []*string{
		jsii.String("entityTypes"),
	},

	// the properties below are optional
	AllowedStatistics: &AllowedStatisticsProperty{
		Statistics: []*string{
			jsii.String("statistics"),
		},
	},
}
```

## Properties

- `allowedStatistics`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnJob.AllowedStatisticsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnJob.AllowedStatisticsProperty.html) — Configuration of statistics that are allowed to be run on columns that contain detected entities.

  When undefined, no statistics will be computed on columns that contain detected entities.

- `entityTypes`: string[] (required) — Entity types to detect. Can be any of the following:.

  - USA_SSN
  - EMAIL
  - USA_ITIN
  - USA_PASSPORT_NUMBER
  - PHONE_NUMBER
  - USA_DRIVING_LICENSE
  - BANK_ACCOUNT
  - CREDIT_CARD
  - IP_ADDRESS
  - MAC_ADDRESS
  - USA_DEA_NUMBER
  - USA_HCPCS_CODE
  - USA_NATIONAL_PROVIDER_IDENTIFIER
  - USA_NATIONAL_DRUG_CODE
  - USA_HEALTH_INSURANCE_CLAIM_NUMBER
  - USA_MEDICARE_BENEFICIARY_IDENTIFIER
  - USA_CPT_CODE
  - PERSON_NAME
  - DATE

  The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME and DATE.
