interface JobAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.JobAttributes |
Java | software.amazon.awscdk.services.glue.JobAttributes |
Python | aws_cdk.aws_glue.JobAttributes |
TypeScript (source) | @aws-cdk/aws-glue » JobAttributes |
Attributes for importing {@link Job}.
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';
import * as iam from '@aws-cdk/aws-iam';
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.