Skip to content
v2.278.0

EntityTypesListItemProperty Struct ​

An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.

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 entityTypesListItemProperty: comprehend.CfnFlywheel.EntityTypesListItemProperty = {
  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_types_list_item_property = 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.*;

EntityTypesListItemProperty entityTypesListItemProperty = EntityTypesListItemProperty.builder()
        .type("type")
        .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 entityTypesListItemProperty = 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"

entityTypesListItemProperty := &EntityTypesListItemProperty{
	Type: jsii.String("type"),
}

Properties ​

typestringtypestrtypeStringTypestringType*string required #
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.

Entity types must not contain the following invalid characters: \n (line break), \n (escaped line break, \r (carriage return), \r (escaped carriage return), \t (tab), \t (escaped tab), and , (comma).