DocumentClassifierArgs constructor
- required Input<
String> dataAccessRoleArn, - required Input<
DocumentClassifierInputDataConfig> inputDataConfig, - required Input<
String> languageCode, - Input<
String?> ? mode, - Input<
String?> ? modelKmsKeyId, - Input<
String?> ? name, - Input<
DocumentClassifierOutputDataConfig?> ? outputDataConfig, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
String?> ? versionName, - Input<
String?> ? versionNamePrefix, - Input<
String?> ? volumeKmsKeyId, - Input<
DocumentClassifierVpcConfig?> ? vpcConfig,
Creates a new DocumentClassifierArgs.
dataAccessRoleArn The ARN for an IAM Role which allows Comprehend to read the training and testing data.
inputDataConfig Configuration for the training and testing data.
languageCode Two-letter language code for the language.
mode The document classification mode.
modelKmsKeyId KMS Key used to encrypt trained Document Classifiers.
name Name for the Document Classifier.
outputDataConfig Configuration for the output results of training.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags A map of tags to assign to the resource. If configured with a provider defaultTags Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.
versionName Name for the version of the Document Classifier.
versionNamePrefix Creates a unique version name beginning with the specified prefix.
volumeKmsKeyId KMS Key used to encrypt storage volumes during job processing.
vpcConfig Configuration parameters for VPC to contain Document Classifier resources.
Implementation
const DocumentClassifierArgs({
required this.dataAccessRoleArn,
required this.inputDataConfig,
required this.languageCode,
this.mode,
this.modelKmsKeyId,
this.name,
this.outputDataConfig,
this.region,
this.tags,
this.versionName,
this.versionNamePrefix,
this.volumeKmsKeyId,
this.vpcConfig,
});