NAME

Paws::Glue::CreateCrawler - Arguments for method CreateCrawler on Paws::Glue

DESCRIPTION

This class represents the parameters used for calling the method CreateCrawler on the AWS Glue service. Use the attributes of this class as arguments to method CreateCrawler.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCrawler.

SYNOPSIS

my $glue = Paws->service('Glue');
my $CreateCrawlerResponse = $glue->CreateCrawler(
  Name    => 'MyNameString',
  Role    => 'MyRole',
  Targets => {
    CatalogTargets => [
      {
        DatabaseName => 'MyNameString',    # min: 1, max: 255
        Tables       => [
          'MyNameString', ...              # min: 1, max: 255
        ],    # min: 1

      },
      ...
    ],    # OPTIONAL
    DynamoDBTargets => [
      {
        Path => 'MyPath',    # OPTIONAL
      },
      ...
    ],    # OPTIONAL
    JdbcTargets => [
      {
        ConnectionName => 'MyConnectionName',    # OPTIONAL
        Exclusions     => [
          'MyPath', ...                          # OPTIONAL
        ],    # OPTIONAL
        Path => 'MyPath',    # OPTIONAL
      },
      ...
    ],    # OPTIONAL
    S3Targets => [
      {
        Exclusions => [
          'MyPath', ...    # OPTIONAL
        ],    # OPTIONAL
        Path => 'MyPath',    # OPTIONAL
      },
      ...
    ],    # OPTIONAL
  },
  Classifiers => [
    'MyNameString', ...    # min: 1, max: 255
  ],    # OPTIONAL
  Configuration                => 'MyCrawlerConfiguration',    # OPTIONAL
  CrawlerSecurityConfiguration =>
    'MyCrawlerSecurityConfiguration',                          # OPTIONAL
  DatabaseName       => 'MyDatabaseName',                      # OPTIONAL
  Description        => 'MyDescriptionString',                 # OPTIONAL
  Schedule           => 'MyCronExpression',                    # OPTIONAL
  SchemaChangePolicy => {
    DeleteBehavior => 'LOG'
    ,   # values: LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE; OPTIONAL
    UpdateBehavior => 'LOG',    # values: LOG, UPDATE_IN_DATABASE; OPTIONAL
  },    # OPTIONAL
  TablePrefix => 'MyTablePrefix',    # OPTIONAL
  Tags        => {
    'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
  },    # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/glue/CreateCrawler

ATTRIBUTES

Classifiers => ArrayRef[Str|Undef]

A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.

Configuration => Str

The crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler (http://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html).

CrawlerSecurityConfiguration => Str

The name of the SecurityConfiguration structure to be used by this crawler.

DatabaseName => Str

The AWS Glue database where results are written, such as: arn:aws:daylight:us-east-1::database/sometable/*.

Description => Str

A description of the new crawler.

REQUIRED Name => Str

Name of the new crawler.

REQUIRED Role => Str

The IAM role or Amazon Resource Name (ARN) of an IAM role used by the new crawler to access customer resources.

Schedule => Str

A cron expression used to specify the schedule. For more information, see Time-Based Schedules for Jobs and Crawlers (http://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html). For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *).

SchemaChangePolicy => Paws::Glue::SchemaChangePolicy

The policy for the crawler's update and deletion behavior.

TablePrefix => Str

The table prefix used for catalog tables that are created.

Tags => Paws::Glue::TagsMap

The tags to use with this crawler request. You can use tags to limit access to the crawler. For more information, see AWS Tags in AWS Glue (http://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html).

REQUIRED Targets => Paws::Glue::CrawlerTargets

A list of collection of targets to crawl.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateCrawler in Paws::Glue

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues