SessionTemplateEnvironmentConfigExecutionConfig class
Constructors
-
SessionTemplateEnvironmentConfigExecutionConfig({Input<SessionTemplateEnvironmentConfigExecutionConfigAuthenticationConfig?>? authenticationConfig, Input<String?>? idleTtl, Input<String?>? kmsKey, Input<List<String>?>? networkTags, Input<String?>? serviceAccount, Input<String?>? stagingBucket, Input<String?>? subnetworkUri, Input<String?>? ttl})
-
Creates a new SessionTemplateEnvironmentConfigExecutionConfig.
authenticationConfig Authentication configuration for a workload is used to set the default identity for the workload execution.
idleTtl The duration to keep the session alive while it's idling.
kmsKey The Cloud KMS key to use for encryption.
networkTags Tags used for network traffic control.
serviceAccount Service account that used to execute workload.
stagingBucket A Cloud Storage bucket used to stage workload dependencies, config files, and store
subnetworkUri Subnetwork configuration for workload execution.
ttl The duration after which the workload will be terminated.
const
-
SessionTemplateEnvironmentConfigExecutionConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
authenticationConfig
→ Input<SessionTemplateEnvironmentConfigExecutionConfigAuthenticationConfig?>?
-
Authentication configuration for a workload is used to set the default identity for the workload execution.
Structure is documented below.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
idleTtl
→ Input<String?>?
-
The duration to keep the session alive while it's idling.
Exceeding this threshold causes the session to terminate. Minimum value is 10 minutes; maximum value is 14 day.
Defaults to 1 hour if not set. 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.
final
-
kmsKey
→ Input<String?>?
-
The Cloud KMS key to use for encryption.
final
-
networkTags
→ Input<List<String>?>?
-
Tags used for network traffic control.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceAccount
→ Input<String?>?
-
Service account that used to execute workload.
final
-
stagingBucket
→ Input<String?>?
-
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.
final
-
subnetworkUri
→ Input<String?>?
-
Subnetwork configuration for workload execution.
final
-
ttl
→ Input<String?>?
-
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 session 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.
final