EntityRecognitionConfigProperty Struct
Configuration required for an entity recognition model.
| 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_comprehend as comprehend } from 'aws-cdk-lib';
const entityRecognitionConfigProperty: comprehend.CfnFlywheel.EntityRecognitionConfigProperty = {
entityTypes: [{
type: 'type',
}],
};
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
// 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();
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"
} }
};
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
entityTypesoptionalIResolvable | IResolvable | CfnFlywheel.entity_typesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EntityTypesListItemProperty]]]entityTypesoptionalIResolvableEntityTypesoptionalIResolvableEntityTypesoptionalinterface{} #Up to 25 entity types that the model is trained to recognize.