Interface CfnCrawler.TargetsProperty

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

@Stability(Stable) public static interface CfnCrawler.TargetsProperty extends software.amazon.jsii.JsiiSerializable
Specifies data stores to crawl.

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.*;
 TargetsProperty targetsProperty = TargetsProperty.builder()
         .catalogTargets(List.of(CatalogTargetProperty.builder()
                 .connectionName("connectionName")
                 .databaseName("databaseName")
                 .dlqEventQueueArn("dlqEventQueueArn")
                 .eventQueueArn("eventQueueArn")
                 .tables(List.of("tables"))
                 .build()))
         .deltaTargets(List.of(DeltaTargetProperty.builder()
                 .connectionName("connectionName")
                 .createNativeDeltaTable(false)
                 .deltaTables(List.of("deltaTables"))
                 .writeManifest(false)
                 .build()))
         .dynamoDbTargets(List.of(DynamoDBTargetProperty.builder()
                 .path("path")
                 .build()))
         .jdbcTargets(List.of(JdbcTargetProperty.builder()
                 .connectionName("connectionName")
                 .exclusions(List.of("exclusions"))
                 .path("path")
                 .build()))
         .mongoDbTargets(List.of(MongoDBTargetProperty.builder()
                 .connectionName("connectionName")
                 .path("path")
                 .build()))
         .s3Targets(List.of(S3TargetProperty.builder()
                 .connectionName("connectionName")
                 .dlqEventQueueArn("dlqEventQueueArn")
                 .eventQueueArn("eventQueueArn")
                 .exclusions(List.of("exclusions"))
                 .path("path")
                 .sampleSize(123)
                 .build()))
         .build();
 
  • Method Details

    • getCatalogTargets

      @Stability(Stable) @Nullable default Object getCatalogTargets()
      Specifies AWS Glue Data Catalog targets.
    • getDeltaTargets

      @Stability(Stable) @Nullable default Object getDeltaTargets()
      CfnCrawler.TargetsProperty.DeltaTargets.
    • getDynamoDbTargets

      @Stability(Stable) @Nullable default Object getDynamoDbTargets()
      Specifies Amazon DynamoDB targets.
    • getJdbcTargets

      @Stability(Stable) @Nullable default Object getJdbcTargets()
      Specifies JDBC targets.
    • getMongoDbTargets

      @Stability(Stable) @Nullable default Object getMongoDbTargets()
      A list of Mongo DB targets.
    • getS3Targets

      @Stability(Stable) @Nullable default Object getS3Targets()
      Specifies Amazon Simple Storage Service (Amazon S3) targets.
    • builder

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