Class DocumentClassifierArgs


  • public final class DocumentClassifierArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • dataAccessRoleArn

        public com.pulumi.core.Output<java.lang.String> dataAccessRoleArn()
        Returns:
        The ARN for an IAM Role which allows Comprehend to read the training and testing data.
      • inputDataConfig

        public com.pulumi.core.Output<DocumentClassifierInputDataConfigArgs> inputDataConfig()
        Returns:
        Configuration for the training and testing data. See the `inputDataConfig` Configuration Block section below.
      • languageCode

        public com.pulumi.core.Output<java.lang.String> languageCode()
        Returns:
        Two-letter language code for the language. One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
      • mode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> mode()
        Returns:
        The document classification mode. One of `MULTI_CLASS` or `MULTI_LABEL`. `MULTI_CLASS` is also known as "Single Label" in the AWS Console.
      • modelKmsKeyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> modelKmsKeyId()
        Returns:
        KMS Key used to encrypt trained Document Classifiers. Can be a KMS Key ID or a KMS Key ARN.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name for the Document Classifier. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hyphen (`-`). The following arguments are optional:
      • outputDataConfig

        public java.util.Optional<com.pulumi.core.Output<DocumentClassifierOutputDataConfigArgs>> outputDataConfig()
        Returns:
        Configuration for the output results of training. See the `outputDataConfig` Configuration Block section below.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionName()
        Returns:
        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 hyphen (`-`). Conflicts with `versionNamePrefix`.
      • versionNamePrefix

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionNamePrefix()
        Returns:
        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 hyphen (`-`). Conflicts with `versionName`.
      • volumeKmsKeyId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> volumeKmsKeyId()
        Returns:
        KMS Key used to encrypt storage volumes during job processing. Can be a KMS Key ID or a KMS Key ARN.
      • vpcConfig

        public java.util.Optional<com.pulumi.core.Output<DocumentClassifierVpcConfigArgs>> vpcConfig()
        Returns:
        Configuration parameters for VPC to contain Document Classifier resources. See the `vpcConfig` Configuration Block section below.