AWS CFT Glue add sampling in DynamoDB Target

Viewed 76

I have so far Glue Crawler defined in Cloud Formation Template as:

Type: AWS::Glue::Crawler
Properties:
  Name: CrawlerName
  DatabaseName: DBName
  Targets:
    DynamoDBTargets:
      - Path: DynamoDBTableName

How I can turn on enable sampling option available in UI Console, but I do not see it in AWS Documentation of CFT

1 Answers

I haven't tried this myself, but this might work based on how the aws api for glue is structured

Type: AWS::Glue::Crawler
Properties:
  Name: CrawlerName
  DatabaseName: DBName
  Targets:
    DynamoDBTargets:
      - Path: DynamoDBTableName
      - ScanAll: False
Related