BatchEnvironmentConfigExecutionConfigArgs

data class BatchEnvironmentConfigExecutionConfigArgs(val kmsKey: Output<String>? = null, val networkTags: Output<List<String>>? = null, val networkUri: Output<String>? = null, val serviceAccount: Output<String>? = null, val stagingBucket: Output<String>? = null, val subnetworkUri: Output<String>? = null, val ttl: Output<String>? = null) : ConvertibleToJava<BatchEnvironmentConfigExecutionConfigArgs>

Constructors

constructor(kmsKey: Output<String>? = null, networkTags: Output<List<String>>? = null, networkUri: Output<String>? = null, serviceAccount: Output<String>? = null, stagingBucket: Output<String>? = null, subnetworkUri: Output<String>? = null, ttl: Output<String>? = null)

Properties

Link copied to clipboard
val kmsKey: Output<String>? = null

The Cloud KMS key to use for encryption.

Link copied to clipboard
val networkTags: Output<List<String>>? = null

Tags used for network traffic control.

Link copied to clipboard
val networkUri: Output<String>? = null

Network configuration for workload execution.

Link copied to clipboard
val serviceAccount: Output<String>? = null

Service account that used to execute workload.

Link copied to clipboard
val stagingBucket: Output<String>? = null

A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

Link copied to clipboard
val subnetworkUri: Output<String>? = null

Subnetwork configuration for workload execution.

Link copied to clipboard
val ttl: Output<String>? = null

The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or run forever without exiting). If ttl is not specified for an interactive session, it defaults to 24 hours. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. If both ttl and idleTtl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idleTtl or when ttl has been exceeded, whichever occurs first.

Functions

Link copied to clipboard
open override fun toJava(): BatchEnvironmentConfigExecutionConfigArgs