@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.608Z") @Stability(value=Stable) public interface CfnCrawlerProps extends software.amazon.jsii.JsiiSerializable
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.*;
Object tags;
CfnCrawlerProps cfnCrawlerProps = CfnCrawlerProps.builder()
.role("role")
.targets(TargetsProperty.builder()
.catalogTargets(List.of(CatalogTargetProperty.builder()
.databaseName("databaseName")
.tables(List.of("tables"))
.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())
// the properties below are optional
.classifiers(List.of("classifiers"))
.configuration("configuration")
.crawlerSecurityConfiguration("crawlerSecurityConfiguration")
.databaseName("databaseName")
.description("description")
.name("name")
.recrawlPolicy(RecrawlPolicyProperty.builder()
.recrawlBehavior("recrawlBehavior")
.build())
.schedule(ScheduleProperty.builder()
.scheduleExpression("scheduleExpression")
.build())
.schemaChangePolicy(SchemaChangePolicyProperty.builder()
.deleteBehavior("deleteBehavior")
.updateBehavior("updateBehavior")
.build())
.tablePrefix("tablePrefix")
.tags(tags)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCrawlerProps.Builder
A builder for
CfnCrawlerProps |
static class |
CfnCrawlerProps.Jsii$Proxy
An implementation for
CfnCrawlerProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCrawlerProps.Builder |
builder() |
default List<String> |
getClassifiers()
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
|
default String |
getConfiguration()
Crawler configuration information.
|
default String |
getCrawlerSecurityConfiguration()
The name of the `SecurityConfiguration` structure to be used by this crawler.
|
default String |
getDatabaseName()
The name of the database in which the crawler's output is stored.
|
default String |
getDescription()
A description of the crawler.
|
default String |
getName()
The name of the crawler.
|
default Object |
getRecrawlPolicy()
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
|
String |
getRole()
The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.
|
default Object |
getSchedule()
For scheduled crawlers, the schedule when the crawler runs.
|
default Object |
getSchemaChangePolicy()
The policy that specifies update and delete behaviors for the crawler.
|
default String |
getTablePrefix()
The prefix added to the names of tables that are created.
|
default Object |
getTags()
The tags to use with this crawler.
|
Object |
getTargets()
A collection of targets to crawl.
|
@Stability(value=Stable) @NotNull String getRole()
@Stability(value=Stable) @NotNull Object getTargets()
@Stability(value=Stable) @Nullable default List<String> getClassifiers()
@Stability(value=Stable) @Nullable default String getConfiguration()
This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler .
@Stability(value=Stable) @Nullable default String getCrawlerSecurityConfiguration()
@Stability(value=Stable) @Nullable default String getDatabaseName()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getRecrawlPolicy()
@Stability(value=Stable) @Nullable default Object getSchedule()
@Stability(value=Stable) @Nullable default Object getSchemaChangePolicy()
@Stability(value=Stable) @Nullable default String getTablePrefix()
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) static CfnCrawlerProps.Builder builder()
CfnCrawlerProps.Builder of CfnCrawlerPropsCopyright © 2022. All rights reserved.