Interface JobAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
JobAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:50.101Z")
@Stability(Experimental)
public interface JobAttributes
extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.services.glue.alpha.*;
import software.amazon.awscdk.services.iam.*;
Role role;
JobAttributes jobAttributes = JobAttributes.builder()
.jobName("jobName")
// the properties below are optional
.role(role)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forJobAttributesstatic final classAn implementation forJobAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic JobAttributes.Builderbuilder()(experimental) The name of the job.default IRolegetRole()(experimental) The IAM role assumed by Glue to run this job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJobName
(experimental) The name of the job. -
getRole
(experimental) The IAM role assumed by Glue to run this job.Default: - undefined
-
builder
- Returns:
- a
JobAttributes.BuilderofJobAttributes
-