Skip to content
v2.273.0

S3TargetProperty Struct ​

Specifies a data store in Amazon Simple Storage Service (Amazon S3).

Example ​

ts
// 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 ​

connectionNamestringconnection_namestrconnectionNameStringConnectionNamestringConnectionName*string#
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).
dlqEventQueueArnstringdlq_event_queue_arnstrdlqEventQueueArnStringDlqEventQueueArnstringDlqEventQueueArn*string#
A valid Amazon dead-letter SQS ARN.

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

eventQueueArnstringevent_queue_arnstreventQueueArnStringEventQueueArnstringEventQueueArn*string#
A valid Amazon SQS ARN.

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

exclusionsstring[]exclusionstyping.List[str]exclusionsList<String>Exclusionsstring[]Exclusions*[]*string#
A list of glob patterns used to exclude from the crawl.

For more information, see Catalog Tables with a Crawler .

pathstringpathstrpathStringPathstringPath*string#
The path to the Amazon S3 target.
sampleSizenumbersample_sizeint | floatsampleSizeNumberSampleSizedoubleSampleSize*float64#
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.