interface JobAttributes
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.JobAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#JobAttributes |
Java | software.amazon.awscdk.services.glue.JobAttributes |
Python | aws_cdk.aws_glue.JobAttributes |
TypeScript (source) | aws-cdk-lib » aws_glue » JobAttributes |
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
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const role: iam.Role;
const jobAttributes: glue.JobAttributes = {
jobName: 'jobName',
// the properties below are optional
role: role,
};
Properties
| Name | Type | Description |
|---|---|---|
| job | string | The name of the job. |
| role? | IRole | The IAM role assumed by Glue to run this job. |
jobName
Type:
string
The name of the job.
role?
Type:
IRole
(optional, default: undefined)
The IAM role assumed by Glue to run this job.

.NET
Go
Java
Python
TypeScript (