JobAttributes

class aws_cdk.aws_glue.JobAttributes(*, job_name, role=None)

Bases: object

(experimental) Attributes for importing {@link Job}.

Parameters:
  • job_name (str) – (experimental) The name of the job.

  • role (Optional[IRole]) – (experimental) The IAM role assumed by Glue to run this job. Default: - undefined

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue as glue
import aws_cdk.aws_iam as iam

# role: iam.Role

job_attributes = glue.JobAttributes(
    job_name="jobName",

    # the properties below are optional
    role=role
)

Attributes

job_name

(experimental) The name of the job.

Stability:

experimental

role

(experimental) The IAM role assumed by Glue to run this job.

Default:
  • undefined

Stability:

experimental