aws-cdk-lib.aws_glue.CfnCrawler.S3TargetProperty

interface S3TargetProperty

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnCrawler.S3TargetProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnCrawler_S3TargetProperty
Javasoftware.amazon.awscdk.services.glue.CfnCrawler.S3TargetProperty
Pythonaws_cdk.aws_glue.CfnCrawler.S3TargetProperty
TypeScript aws-cdk-lib » aws_glue » CfnCrawler » S3TargetProperty

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 { aws_glue as glue } from 'aws-cdk-lib';
const s3TargetProperty: glue.CfnCrawler.S3TargetProperty = {
  connectionName: 'connectionName',
  dlqEventQueueArn: 'dlqEventQueueArn',
  eventQueueArn: 'eventQueueArn',
  exclusions: ['exclusions'],
  path: 'path',
  sampleSize: 123,
};

Properties

NameTypeDescription
connectionName?stringThe 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).
dlqEventQueueArn?stringA valid Amazon dead-letter SQS ARN.
eventQueueArn?stringA valid Amazon SQS ARN.
exclusions?string[]A list of glob patterns used to exclude from the crawl.
path?stringThe path to the Amazon S3 target.
sampleSize?numberSets the number of files in each leaf folder to be crawled when crawling sample files in a dataset.

connectionName?

Type: string (optional)

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).


dlqEventQueueArn?

Type: string (optional)

A valid Amazon dead-letter SQS ARN.

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


eventQueueArn?

Type: string (optional)

A valid Amazon SQS ARN.

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


exclusions?

Type: string[] (optional)

A list of glob patterns used to exclude from the crawl.

For more information, see Catalog Tables with a Crawler .


path?

Type: string (optional)

The path to the Amazon S3 target.


sampleSize?

Type: number (optional)

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.