JobFlowDetail class
A description of a cluster (job flow).
Constructors
-
JobFlowDetail({required JobFlowExecutionStatusDetail executionStatusDetail, required JobFlowInstancesDetail instances, required String jobFlowId, required String name, String? amiVersion, String? autoScalingRole, List<
BootstrapActionDetail> ? bootstrapActions, String? jobFlowRole, String? logEncryptionKmsKeyId, String? logUri, ScaleDownBehavior? scaleDownBehavior, String? serviceRole, List<StepDetail> ? steps, List<String> ? supportedProducts, bool? visibleToAllUsers}) -
JobFlowDetail.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amiVersion → String?
-
Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases
4.0 and later,
ReleaseLabel
is used. To specify a custom AMI, useCustomAmiID
.final - autoScalingRole → String?
-
An IAM role for automatic scaling policies. The default role is
EMR_AutoScaling_DefaultRole
. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate EC2 instances in an instance group.final -
bootstrapActions
→ List<
BootstrapActionDetail> ? -
A list of the bootstrap actions run by the job flow.
final
- executionStatusDetail → JobFlowExecutionStatusDetail
-
Describes the execution status of the job flow.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instances → JobFlowInstancesDetail
-
Describes the Amazon EC2 instances of the job flow.
final
- jobFlowId → String
-
The job flow identifier.
final
- jobFlowRole → String?
-
The IAM role that was specified when the job flow was launched. The EC2
instances of the job flow assume this role.
final
- logEncryptionKmsKeyId → String?
-
The AWS KMS customer master key (CMK) used for encrypting log files. This
attribute is only available with EMR version 5.30.0 and later, excluding EMR
6.0.0.
final
- logUri → String?
-
The location in Amazon S3 where log files for the job are stored.
final
- name → String
-
The name of the job flow.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleDownBehavior → ScaleDownBehavior?
-
The way that individual Amazon EC2 instances terminate when an automatic
scale-in activity occurs or an instance group is resized.
TERMINATE_AT_INSTANCE_HOUR
indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version.TERMINATE_AT_TASK_COMPLETION
indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption.TERMINATE_AT_TASK_COMPLETION
available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.final - serviceRole → String?
-
The IAM role that is assumed by the Amazon EMR service to access AWS
resources on your behalf.
final
-
steps
→ List<
StepDetail> ? -
A list of steps run by the job flow.
final
-
supportedProducts
→ List<
String> ? -
A list of strings set by third-party software when the job flow is launched.
If you are not using third-party software to manage the job flow, this value
is empty.
final
- visibleToAllUsers → bool?
-
Indicates whether the cluster is visible to all IAM users of the AWS account
associated with the cluster. The default value,
true
, indicates that all IAM users in the AWS account can perform cluster actions if they have the proper IAM policy permissions. If this value isfalse
, only the IAM user that created the cluster can perform actions. This value can be changed on a running cluster by using the SetVisibleToAllUsers action. You can override the default value oftrue
when you create a cluster by using theVisibleToAllUsers
parameter of theRunJobFlow
action.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited