JobArgs constructor
- Input<
String?> ? deletionPolicy, - Input<
bool?> ? forceDelete, - Input<
JobHadoopConfig?> ? hadoopConfig, - Input<
JobHiveConfig?> ? hiveConfig, - Input<
Map< ? labels,String, String> ?> - Input<
JobPigConfig?> ? pigConfig, - required Input<
JobPlacement> placement, - Input<
JobPrestoConfig?> ? prestoConfig, - Input<
String?> ? project, - Input<
JobPysparkConfig?> ? pysparkConfig, - Input<
JobReference?> ? reference, - Input<
String?> ? region, - Input<
JobScheduling?> ? scheduling, - Input<
JobSparkConfig?> ? sparkConfig, - Input<
JobSparksqlConfig?> ? sparksqlConfig, - Input<
bool?> ? waitForCompletion,
Creates a new JobArgs.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
forceDelete By default, you can only delete inactive jobs within
hadoopConfig The config of Hadoop job
hiveConfig The config of hive job
labels The list of labels (key/value pairs) to add to the job.
pigConfig The config of pag job.
placement The config of job placement.
prestoConfig The config of presto job
project The project in which the cluster can be found and jobs
pysparkConfig The config of pySpark job.
reference The reference of the job
region The Cloud Dataproc region. This essentially determines which clusters are available
scheduling Optional. Job scheduling configuration.
sparkConfig The config of the Spark job.
sparksqlConfig The config of SparkSql job
waitForCompletion If set to true, Terraform will wait for the job to reach a terminal state (DONE, ERROR, CANCELLED, ATTEMPT_FAILURE). Otherwise, Terraform will consider the job 'created' once it is in the RUNNING state.
Implementation
const JobArgs({
this.deletionPolicy,
this.forceDelete,
this.hadoopConfig,
this.hiveConfig,
this.labels,
this.pigConfig,
required this.placement,
this.prestoConfig,
this.project,
this.pysparkConfig,
this.reference,
this.region,
this.scheduling,
this.sparkConfig,
this.sparksqlConfig,
this.waitForCompletion,
});