Interface CfnCrawler.S3TargetProperty

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

@Stability(Stable) public static interface CfnCrawler.S3TargetProperty extends software.amazon.jsii.JsiiSerializable
Specifies a data store in Amazon Simple Storage Service (Amazon S3).

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.glue.*;
 S3TargetProperty s3TargetProperty = S3TargetProperty.builder()
         .connectionName("connectionName")
         .dlqEventQueueArn("dlqEventQueueArn")
         .eventQueueArn("eventQueueArn")
         .exclusions(List.of("exclusions"))
         .path("path")
         .sampleSize(123)
         .build();
 
  • Method Details

    • getConnectionName

      @Stability(Stable) @Nullable default String getConnectionName()
      The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
    • getDlqEventQueueArn

      @Stability(Stable) @Nullable default String getDlqEventQueueArn()
      A valid Amazon dead-letter SQS ARN.

      For example, arn:aws:sqs:region:account:deadLetterQueue .

    • getEventQueueArn

      @Stability(Stable) @Nullable default String getEventQueueArn()
      A valid Amazon SQS ARN.

      For example, arn:aws:sqs:region:account:sqs .

    • getExclusions

      @Stability(Stable) @Nullable default List<String> getExclusions()
      A list of glob patterns used to exclude from the crawl.

      For more information, see Catalog Tables with a Crawler .

    • getPath

      @Stability(Stable) @Nullable default String getPath()
      The path to the Amazon S3 target.
    • getSampleSize

      @Stability(Stable) @Nullable default Number getSampleSize()
      Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset.

      If not set, all the files are crawled. A valid value is an integer between 1 and 249.

    • builder

      @Stability(Stable) static CfnCrawler.S3TargetProperty.Builder builder()
      Returns:
      a CfnCrawler.S3TargetProperty.Builder of CfnCrawler.S3TargetProperty