class CfnCrawlerPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnCrawlerPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnCrawlerPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnCrawlerPropsMixin |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnCrawlerPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnCrawlerPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::Glue::Crawler resource specifies an AWS Glue crawler.
For more information, see Cataloging Tables with a Crawler and Crawler Structure in the AWS Glue Developer Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const tags: any;
const cfnCrawlerPropsMixin = new glue_mixins.CfnCrawlerPropsMixin({
classifiers: ['classifiers'],
configuration: 'configuration',
crawlerSecurityConfiguration: 'crawlerSecurityConfiguration',
databaseName: 'databaseName',
description: 'description',
lakeFormationConfiguration: {
accountId: 'accountId',
useLakeFormationCredentials: false,
},
name: 'name',
recrawlPolicy: {
recrawlBehavior: 'recrawlBehavior',
},
role: 'role',
schedule: {
scheduleExpression: 'scheduleExpression',
},
schemaChangePolicy: {
deleteBehavior: 'deleteBehavior',
updateBehavior: 'updateBehavior',
},
tablePrefix: 'tablePrefix',
tags: tags,
targets: {
catalogTargets: [{
connectionName: 'connectionName',
databaseName: 'databaseName',
dlqEventQueueArn: 'dlqEventQueueArn',
eventQueueArn: 'eventQueueArn',
tables: ['tables'],
}],
deltaTargets: [{
connectionName: 'connectionName',
createNativeDeltaTable: false,
deltaTables: ['deltaTables'],
writeManifest: false,
}],
dynamoDbTargets: [{
path: 'path',
scanAll: false,
scanRate: 123,
}],
hudiTargets: [{
connectionName: 'connectionName',
exclusions: ['exclusions'],
maximumTraversalDepth: 123,
paths: ['paths'],
}],
icebergTargets: [{
connectionName: 'connectionName',
exclusions: ['exclusions'],
maximumTraversalDepth: 123,
paths: ['paths'],
}],
jdbcTargets: [{
connectionName: 'connectionName',
enableAdditionalMetadata: ['enableAdditionalMetadata'],
exclusions: ['exclusions'],
path: 'path',
}],
mongoDbTargets: [{
connectionName: 'connectionName',
path: 'path',
}],
s3Targets: [{
connectionName: 'connectionName',
dlqEventQueueArn: 'dlqEventQueueArn',
eventQueueArn: 'eventQueueArn',
exclusions: ['exclusions'],
path: 'path',
sampleSize: 123,
}],
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnCrawlerPropsMixin(props: CfnCrawlerMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Crawler Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Glue::Crawler.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript