class JobEvents
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Events.JobEvents |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/events#JobEvents |
Java | software.amazon.awscdk.mixins.preview.services.glue.events.JobEvents |
Python | aws_cdk.mixins_preview.aws_glue.events.JobEvents |
TypeScript | @aws-cdk/mixins-preview ยป aws_glue ยป events ยป JobEvents |
EventBridge event patterns for Job.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as glue_events } from '@aws-cdk/mixins-preview/aws-glue';
import { aws_glue as interfaces_glue } from 'aws-cdk-lib/interfaces';
declare const jobRef: interfaces_glue.IJobRef;
const jobEvents = glue_events.JobEvents.fromJob(jobRef);
Methods
| Name | Description |
|---|---|
| aws | EventBridge event pattern for Job AWS API Call via CloudTrail. |
| glue | EventBridge event pattern for Job Glue Job Run Status. |
| glue | EventBridge event pattern for Job Glue Job State Change. |
| static from | Create JobEvents from a Job reference. |
awsAPICallViaCloudTrailPattern(options?)
public awsAPICallViaCloudTrailPattern(options?: AWSAPICallViaCloudTrailProps): EventPattern
Parameters
- options
AWSAPICallVia Cloud Trail Props
Returns
EventBridge event pattern for Job AWS API Call via CloudTrail.
glueJobRunStatusPattern(options?)
public glueJobRunStatusPattern(options?: GlueJobRunStatusProps): EventPattern
Parameters
- options
GlueJob Run Status Props
Returns
EventBridge event pattern for Job Glue Job Run Status.
glueJobStateChangePattern(options?)
public glueJobStateChangePattern(options?: GlueJobStateChangeProps): EventPattern
Parameters
- options
GlueJob State Change Props
Returns
EventBridge event pattern for Job Glue Job State Change.
static fromJob(jobRef)
public static fromJob(jobRef: IJobRef): JobEvents
Parameters
- jobRef
IJobRef
Returns
Create JobEvents from a Job reference.

.NET
Go
Java
Python
TypeScript