EntityDetectorConfigurationProperty Struct
Configuration of entity detection for a profile job.
When undefined, entity detection is disabled.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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" }
}
};
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
allowedStatisticsoptionalIResolvable | CfnJob.AllowedStatisticsPropertyallowed_statisticsoptionaltyping.Union[IResolvable, AllowedStatisticsProperty]allowedStatisticsoptionalIResolvableAllowedStatisticsoptionalIResolvableAllowedStatisticsoptionalinterface{} #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.
entityTypesstring[]entity_typestyping.List[str]entityTypesList<String>EntityTypesstring[]EntityTypes*[]*string required #Entity types to detect. Can be any of the following:.
notes
- USA_SSN
- 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.