Skip to content
v2.274.0

JdbcTargetProperty Struct ​

Specifies a JDBC data store to crawl.

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 jdbcTargetProperty: glue.CfnCrawler.JdbcTargetProperty = {
  connectionName: 'connectionName',
  enableAdditionalMetadata: ['enableAdditionalMetadata'],
  exclusions: ['exclusions'],
  path: 'path',
};

Properties ​

connectionNamestringconnection_namestrconnectionNameStringConnectionNamestringConnectionName*string#
The name of the connection to use to connect to the JDBC target.
enableAdditionalMetadatastring[]enable_additional_metadatatyping.List[str]enableAdditionalMetadataList<String>EnableAdditionalMetadatastring[]EnableAdditionalMetadata*[]*string#
Specify a value of `RAWTYPES` or `COMMENTS` to enable additional metadata in table responses.

RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.

If you do not need additional metadata, keep the field empty.

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 of the JDBC target.