DocumentClassifierArgs class
The set of arguments for DocumentClassifier. The set of arguments for DocumentClassifier.
Constructors
-
DocumentClassifierArgs({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, Input<String, String> ?>String?> ? versionName, Input<String?> ? versionNamePrefix, Input<String?> ? volumeKmsKeyId, Input<DocumentClassifierVpcConfig?> ? vpcConfig}) -
Creates a new DocumentClassifierArgs.
dataAccessRoleArnThe ARN for an IAM Role which allows Comprehend to read the training and testing data.inputDataConfigConfiguration for the training and testing data.languageCodeTwo-letter language code for the language.modeThe document classification mode.modelKmsKeyIdKMS Key used to encrypt trained Document Classifiers.nameName for the Document Classifier.outputDataConfigConfiguration for the output results of training.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA map of tags to assign to the resource. If configured with a providerdefaultTagsConfiguration Block present, tags with matching keys will overwrite those defined at the provider-level.versionNameName for the version of the Document Classifier.versionNamePrefixCreates a unique version name beginning with the specified prefix.volumeKmsKeyIdKMS Key used to encrypt storage volumes during job processing.vpcConfigConfiguration parameters for VPC to contain Document Classifier resources.const -
DocumentClassifierArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
dataAccessRoleArn
→ Input<
String> -
The ARN for an IAM Role which allows Comprehend to read the training and testing data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputDataConfig
→ Input<
DocumentClassifierInputDataConfig> -
Configuration for the training and testing data.
See the
inputDataConfigConfiguration Block section below.final -
languageCode
→ Input<
String> -
Two-letter language code for the language.
One of
en,es,fr,it,de, orpt.final -
mode
→ Input<
String?> ? -
The document classification mode.
One of
MULTI_CLASSorMULTI_LABEL.MULTI_CLASSis also known as "Single Label" in the AWS Console.final -
modelKmsKeyId
→ Input<
String?> ? -
KMS Key used to encrypt trained Document Classifiers.
Can be a KMS Key ID or a KMS Key ARN.
final
-
name
→ Input<
String?> ? -
Name for the Document Classifier.
Has a maximum length of 63 characters.
Can contain upper- and lower-case letters, numbers, and hypen (
-).final -
outputDataConfig
→ Input<
DocumentClassifierOutputDataConfig?> ? -
Configuration for the output results of training.
See the
outputDataConfigConfiguration Block section below.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
A map of tags to assign to the resource. If configured with a provider
defaultTagsConfiguration Block present, tags with matching keys will overwrite those defined at the provider-level.final -
versionName
→ Input<
String?> ? -
Name for the version of the Document Classifier.
Each version must have a unique name within the Document Classifier.
If omitted, the provider will assign a random, unique version name.
If explicitly set to
"", no version name will be set. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hypen (-). Conflicts withversionNamePrefix.final -
versionNamePrefix
→ Input<
String?> ? -
Creates a unique version name beginning with the specified prefix.
Has a maximum length of 37 characters.
Can contain upper- and lower-case letters, numbers, and hypen (
-). Conflicts withversionName.final -
volumeKmsKeyId
→ Input<
String?> ? -
KMS Key used to encrypt storage volumes during job processing.
Can be a KMS Key ID or a KMS Key ARN.
final
-
vpcConfig
→ Input<
DocumentClassifierVpcConfig?> ? -
Configuration parameters for VPC to contain Document Classifier resources.
See the
vpcConfigConfiguration Block section below.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited