interface CfnEntityRecognizerMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Comprehend.CfnEntityRecognizerMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscomprehend#CfnEntityRecognizerMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.comprehend.CfnEntityRecognizerMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_comprehend.CfnEntityRecognizerMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_comprehend » CfnEntityRecognizerMixinProps |
Properties for CfnEntityRecognizerPropsMixin.
Example
// 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/cfn-property-mixins';
const cfnEntityRecognizerMixinProps: comprehend.CfnEntityRecognizerMixinProps = {
dataAccessRoleArn: 'dataAccessRoleArn',
inputDataConfig: {
annotations: {
s3Uri: 's3Uri',
testS3Uri: 'testS3Uri',
},
augmentedManifests: [{
annotationDataS3Uri: 'annotationDataS3Uri',
attributeNames: ['attributeNames'],
documentType: 'documentType',
s3Uri: 's3Uri',
sourceDocumentsS3Uri: 'sourceDocumentsS3Uri',
split: 'split',
}],
dataFormat: 'dataFormat',
documents: {
inputFormat: 'inputFormat',
s3Uri: 's3Uri',
testS3Uri: 'testS3Uri',
},
entityList: {
s3Uri: 's3Uri',
},
entityTypes: [{
type: 'type',
}],
},
languageCode: 'languageCode',
modelKmsKeyId: 'modelKmsKeyId',
modelPolicy: 'modelPolicy',
recognizerName: 'recognizerName',
tags: [{
key: 'key',
value: 'value',
}],
versionName: 'versionName',
volumeKmsKeyId: 'volumeKmsKeyId',
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| data | string | The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data. |
| input | IResolvable | Entity | Specifies the format and location of the input data for an entity recognizer. |
| language | string | The language of the input documents. |
| model | string | ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models. |
| model | string | The JSON resource-based policy to attach to your custom entity recognizer model. |
| recognizer | string | The name given to the entity recognizer. |
| tags? | Cfn[] | Tags to associate with the entity recognizer. |
| version | string | The version name given to the entity recognizer. |
| volume | string | ID for the AWS KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s). |
| vpc | IResolvable | Vpc | Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. |
dataAccessRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
inputDataConfig?
Type:
IResolvable | Entity
(optional)
Specifies the format and location of the input data for an entity recognizer.
languageCode?
Type:
string
(optional)
The language of the input documents.
All documents must be in the same language.
modelKmsKeyId?
Type:
string
(optional)
ID for the AWS KMS key that Amazon Comprehend uses to encrypt trained custom models.
modelPolicy?
Type:
string
(optional)
The JSON resource-based policy to attach to your custom entity recognizer model.
recognizerName?
Type:
string
(optional)
The name given to the entity recognizer.
tags?
Type:
Cfn[]
(optional)
Tags to associate with the entity recognizer.
versionName?
Type:
string
(optional)
The version name given to the entity recognizer.
volumeKmsKeyId?
Type:
string
(optional)
ID for the AWS KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s).
vpcConfig?
Type:
IResolvable | Vpc
(optional)
Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job.

.NET
Go
Java
Python
TypeScript