Interface S3FileItemReaderProps

All Superinterfaces:
ItemReaderProps, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
S3CsvItemReaderProps
All Known Implementing Classes:
S3CsvItemReaderProps.Jsii$Proxy, S3FileItemReaderProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:27.753Z") @Stability(Stable) public interface S3FileItemReaderProps extends software.amazon.jsii.JsiiSerializable, ItemReaderProps
Base interface for Item Reader configuration properties the iterate over entries in a S3 file.

Example:

 import software.amazon.awscdk.services.s3.*;
 /**
  * Tree view of bucket:
  *  my-bucket
  *  |
  *  +--input.json
  *  |
  *  ...
  *
  * File content of input.json:
  *  [
  *    "item1",
  *    "item2"
  *  ]
  */
 Bucket bucket = Bucket.Builder.create(this, "Bucket")
         .bucketName("my-bucket")
         .build();
 DistributedMap distributedMap = DistributedMap.Builder.create(this, "DistributedMap")
         .itemReader(S3JsonItemReader.Builder.create()
                 .bucket(bucket)
                 .key("input.json")
                 .build())
         .build();
 distributedMap.itemProcessor(new Pass(this, "Pass"));