interface Action
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.Alpha.Action |
![]() | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#Action |
![]() | software.amazon.awscdk.services.glue.alpha.Action |
![]() | aws_cdk.aws_glue_alpha.Action |
![]() | @aws-cdk/aws-glue-alpha ยป Action |
Represents a trigger action.
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 action: glue_alpha.Action = {
arguments: {
argumentsKey: 'arguments',
},
crawler: cfnCrawler,
job: job,
securityConfiguration: securityConfiguration,
timeout: cdk.Duration.minutes(30),
};
Properties
Name | Type | Description |
---|---|---|
arguments? | { [string]: string } | The job arguments used when this trigger fires. |
crawler? | Cfn | The name of the crawler to be used with this action. |
job? | IJob | The job to be executed. |
security | ISecurity | The SecurityConfiguration to be used with this action. |
timeout? | Duration | The job run timeout. |
arguments?
Type:
{ [string]: string }
(optional, default: no arguments are passed to the job)
The job arguments used when this trigger fires.
crawler?
Type:
Cfn
(optional, default: no crawler is used)
The name of the crawler to be used with this action.
job?
Type:
IJob
(optional, default: no job is executed)
The job to be executed.
securityConfiguration?
Type:
ISecurity
(optional, default: no security configuration is used)
The SecurityConfiguration
to be used with this action.
timeout?
Type:
Duration
(optional, default: the default timeout value set in the job definition)
The job run timeout.
This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.