interface S3TargetProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnCrawler.S3TargetProperty |
Java | software.amazon.awscdk.services.glue.CfnCrawler.S3TargetProperty |
Python | aws_cdk.aws_glue.CfnCrawler.S3TargetProperty |
TypeScript | @aws-cdk/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 * as glue from '@aws-cdk/aws-glue';
const s3TargetProperty: glue.CfnCrawler.S3TargetProperty = {
connectionName: 'connectionName',
dlqEventQueueArn: 'dlqEventQueueArn',
eventQueueArn: 'eventQueueArn',
exclusions: ['exclusions'],
path: 'path',
sampleSize: 123,
};
Properties
Name | Type | Description |
---|---|---|
connection | 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). |
dlq | string | A valid Amazon dead-letter SQS ARN. |
event | string | A valid Amazon SQS ARN. |
exclusions? | string[] | A list of glob patterns used to exclude from the crawl. |
path? | string | The path to the Amazon S3 target. |
sample | number | Sets 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.