Skip to content
v2.274.0

JobAttributes Struct ​

A subset of Job attributes are required for importing an existing job into a CDK project.

This is only used when using fromJobAttributes to identify and reference the existing job.

Example ​

ts
// 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 { aws_iam as iam } from 'aws-cdk-lib';

declare const role: iam.Role;
const jobAttributes: glue_alpha.JobAttributes = {
  jobName: 'jobName',

  // the properties below are optional
  role: role,
};

Properties ​

jobNamestringjob_namestrjobNameStringJobNamestringJobName*stringrequired#
The name of the job.
roleIRoleroleIRoleroleIRoleRoleIRoleRoleIRole= undefined#
The IAM role assumed by Glue to run this job.