interface ActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnTrigger.ActionProperty |
Java | software.amazon.awscdk.services.glue.CfnTrigger.ActionProperty |
Python | aws_cdk.aws_glue.CfnTrigger.ActionProperty |
TypeScript | @aws-cdk/aws-glue » CfnTrigger » ActionProperty |
Defines an action to be initiated by a trigger.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue from '@aws-cdk/aws-glue';
declare const arguments_: any;
const actionProperty: glue.CfnTrigger.ActionProperty = {
arguments: arguments_,
crawlerName: 'crawlerName',
jobName: 'jobName',
notificationProperty: {
notifyDelayAfter: 123,
},
securityConfiguration: 'securityConfiguration',
timeout: 123,
};
Properties
Name | Type | Description |
---|---|---|
arguments? | any | The job arguments used when this trigger fires. |
crawler | string | The name of the crawler to be used with this action. |
job | string | The name of a job to be executed. |
notification | IResolvable | Notification | Specifies configuration properties of a job run notification. |
security | string | The name of the SecurityConfiguration structure to be used with this action. |
timeout? | number | The JobRun timeout in minutes. |
arguments?
Type:
any
(optional)
The job arguments used when this trigger fires.
For this job run, they replace the default arguments set in the job definition itself.
You can specify arguments here that your own job-execution script consumes, in addition to arguments that AWS Glue itself consumes.
For information about how to specify and consume your own job arguments, see Calling AWS Glue APIs in Python in the AWS Glue Developer Guide .
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
crawlerName?
Type:
string
(optional)
The name of the crawler to be used with this action.
jobName?
Type:
string
(optional)
The name of a job to be executed.
notificationProperty?
Type:
IResolvable
|
Notification
(optional)
Specifies configuration properties of a job run notification.
securityConfiguration?
Type:
string
(optional)
The name of the SecurityConfiguration
structure to be used with this action.
timeout?
Type:
number
(optional)
The JobRun
timeout in minutes.
This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.