JobState constructor

const JobState({
  1. Input<String?>? arn,
  2. Input<JobCommand?>? command,
  3. Input<List<String>?>? connections,
  4. Input<Map<String, String>?>? defaultArguments,
  5. Input<String?>? description,
  6. Input<String?>? executionClass,
  7. Input<JobExecutionProperty?>? executionProperty,
  8. Input<String?>? glueVersion,
  9. Input<String?>? jobMode,
  10. Input<bool?>? jobRunQueuingEnabled,
  11. Input<String?>? maintenanceWindow,
  12. Input<double?>? maxCapacity,
  13. Input<int?>? maxRetries,
  14. Input<String?>? name,
  15. Input<Map<String, String>?>? nonOverridableArguments,
  16. Input<JobNotificationProperty?>? notificationProperty,
  17. Input<int?>? numberOfWorkers,
  18. Input<String?>? region,
  19. Input<String?>? roleArn,
  20. Input<String?>? securityConfiguration,
  21. Input<JobSourceControlDetails?>? sourceControlDetails,
  22. Input<Map<String, String>?>? tags,
  23. Input<Map<String, String>?>? tagsAll,
  24. Input<int?>? timeout,
  25. Input<String?>? workerType,
})

Creates a new JobState. arn ARN of Glue Job command The command of the job. Defined below. connections The list of connections used for this job. defaultArguments The map of default arguments for this job. You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide. For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide. description Description of the job. executionClass Indicates whether the job is run with a standard or flexible execution class. The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources. Valid value: FLEX, STANDARD. executionProperty Execution property of the job. Defined below. glueVersion The version of glue to use, for example "1.0". Ray jobs should set this to 4.0 or greater. For information about available versions, see the AWS Glue Release Notes. jobMode Describes how a job was created. Valid values are SCRIPT, NOTEBOOK and VISUAL. jobRunQueuingEnabled Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing. maintenanceWindow Specifies the day of the week and hour for the maintenance window for streaming jobs. maxCapacity The maximum number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. Required when pythonshell is set, accept either 0.0625 or 1.0. Use numberOfWorkers and workerType arguments instead with glueVersion 2.0 and above. maxRetries The maximum number of times to retry this job if it fails. name The name you assign to this job. It must be unique in your account. nonOverridableArguments Non-overridable arguments for this job, specified as name-value pairs. notificationProperty Notification property of the job. Defined below. numberOfWorkers The number of workers of a defined workerType that are allocated when a job runs. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. roleArn The ARN of the IAM role associated with this job. securityConfiguration The name of the Security Configuration to be associated with the job. sourceControlDetails The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. Defined below. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. timeout The job timeout in minutes. The default is 2880 minutes (48 hours) for glueetl and pythonshell jobs, and 0 (unlimited) for gluestreaming jobs. Leave this attribute argumnet unconfigured for glueray jobs. workerType The type of predefined worker that is allocated when a job runs. Valid values: Standard, G.1X, G.2X, G.025X, G.4X, G.8X, G.12X, G.16X, R.1X, R.2X, R.4X, R.8X, Z.2X (Ray jobs). See the AWS documentation for details.

Implementation

const JobState({
  this.arn,
  this.command,
  this.connections,
  this.defaultArguments,
  this.description,
  this.executionClass,
  this.executionProperty,
  this.glueVersion,
  this.jobMode,
  this.jobRunQueuingEnabled,
  this.maintenanceWindow,
  this.maxCapacity,
  this.maxRetries,
  this.name,
  this.nonOverridableArguments,
  this.notificationProperty,
  this.numberOfWorkers,
  this.region,
  this.roleArn,
  this.securityConfiguration,
  this.sourceControlDetails,
  this.tags,
  this.tagsAll,
  this.timeout,
  this.workerType,
});