Class DataSourceConfigurationS3Configuration


  • public final class DataSourceConfigurationS3Configuration
    extends java.lang.Object
    • Method Detail

      • accessControlListConfiguration

        public java.util.Optional<DataSourceConfigurationS3ConfigurationAccessControlListConfiguration> accessControlListConfiguration()
        Returns:
        Path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see [Access control for S3 data sources](https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html). Detailed below.
      • bucketName

        public java.lang.String bucketName()
        Returns:
        Name of the bucket that contains the documents.
      • documentsMetadataConfiguration

        public java.util.Optional<DataSourceConfigurationS3ConfigurationDocumentsMetadataConfiguration> documentsMetadataConfiguration()
        Returns:
        Block that defines the Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document. Detailed below.
      • exclusionPatterns

        public java.util.List<java.lang.String> exclusionPatterns()
        Returns:
        List of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Exclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-ExclusionPatterns).
      • inclusionPatterns

        public java.util.List<java.lang.String> inclusionPatterns()
        Returns:
        List of glob patterns for documents that should be indexed. If a document that matches an inclusion pattern also matches an exclusion pattern, the document is not indexed. Refer to [Inclusion Patterns for more examples](https://docs.aws.amazon.com/kendra/latest/dg/API_S3DataSourceConfiguration.html#Kendra-Type-S3DataSourceConfiguration-InclusionPatterns).
      • inclusionPrefixes

        public java.util.List<java.lang.String> inclusionPrefixes()
        Returns:
        List of S3 prefixes for the documents that should be included in the index.