Interface CfnDataSource.S3DataSourceConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDataSource.S3DataSourceConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnDataSource

@Stability(Stable) public static interface CfnDataSource.S3DataSourceConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Provides the configuration information to connect to an Amazon S3 bucket.

Amazon Kendra now supports an upgraded Amazon S3 connector.

You must now use the TemplateConfiguration object instead of the S3DataSourceConfiguration object to configure your connector.

Connectors configured using the older console and API architecture will continue to function as configured. However, you won't be able to edit or update them. If you want to edit or update your connector configuration, you must create a new connector.

We recommended migrating your connector workflow to the upgraded version. Support for connectors configured using the older architecture is scheduled to end by June 2024.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.kendra.*;
 S3DataSourceConfigurationProperty s3DataSourceConfigurationProperty = S3DataSourceConfigurationProperty.builder()
         .bucketName("bucketName")
         // the properties below are optional
         .accessControlListConfiguration(AccessControlListConfigurationProperty.builder()
                 .keyPath("keyPath")
                 .build())
         .documentsMetadataConfiguration(DocumentsMetadataConfigurationProperty.builder()
                 .s3Prefix("s3Prefix")
                 .build())
         .exclusionPatterns(List.of("exclusionPatterns"))
         .inclusionPatterns(List.of("inclusionPatterns"))
         .inclusionPrefixes(List.of("inclusionPrefixes"))
         .build();
 

See Also: