interface WeeklyScheduleTriggerOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.Alpha.WeeklyScheduleTriggerOptions |
![]() | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#WeeklyScheduleTriggerOptions |
![]() | software.amazon.awscdk.services.glue.alpha.WeeklyScheduleTriggerOptions |
![]() | aws_cdk.aws_glue_alpha.WeeklyScheduleTriggerOptions |
![]() | @aws-cdk/aws-glue-alpha ยป WeeklyScheduleTriggerOptions |
Properties for configuring a weekly-scheduled Glue Trigger.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue_alpha from '@aws-cdk/aws-glue-alpha';
import * as cdk from 'aws-cdk-lib';
import { aws_glue as glue } from 'aws-cdk-lib';
declare const cfnCrawler: glue.CfnCrawler;
declare const job: glue_alpha.Job;
declare const securityConfiguration: glue_alpha.SecurityConfiguration;
const weeklyScheduleTriggerOptions: glue_alpha.WeeklyScheduleTriggerOptions = {
actions: [{
arguments: {
argumentsKey: 'arguments',
},
crawler: cfnCrawler,
job: job,
securityConfiguration: securityConfiguration,
timeout: cdk.Duration.minutes(30),
}],
// the properties below are optional
description: 'description',
name: 'name',
startOnCreation: false,
};
Properties
Name | Type | Description |
---|---|---|
actions | Action [] | The actions initiated by this trigger. |
description? | string | A description for the trigger. |
name? | string | A name for the trigger. |
start | boolean | Whether to start the trigger on creation or not. |
actions
Type:
Action
[]
The actions initiated by this trigger.
description?
Type:
string
(optional, default: no description)
A description for the trigger.
name?
Type:
string
(optional, default: no name is provided)
A name for the trigger.
startOnCreation?
Type:
boolean
(optional, default: false)
Whether to start the trigger on creation or not.