Class CfnCluster.JobFlowInstancesConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCluster.JobFlowInstancesConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCluster.JobFlowInstancesConfigProperty
CfnCluster.JobFlowInstancesConfigProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnCluster.JobFlowInstancesConfigProperty
CfnCluster.JobFlowInstancesConfigProperty.Builder, CfnCluster.JobFlowInstancesConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnCluster.JobFlowInstancesConfigProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
A list of additional Amazon EC2 security group IDs for the master node.A list of additional Amazon EC2 security group IDs for the core and task nodes.final Object
Describes the EC2 instances and instance configurations for the core instance fleet when using clusters with the instance fleet configuration.final Object
Describes the EC2 instances and instance configurations for core instance groups when using clusters with the uniform instance group configuration.final String
The name of the Amazon EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop.".final String
Applies to clusters that use the uniform instance group configuration.Applies to clusters that use the instance fleet configuration.final String
The identifier of the Amazon EC2 security group for the master node.final String
The identifier of the Amazon EC2 security group for the core and task nodes.final String
Applies only to Amazon EMR release versions earlier than 4.0.final Object
Specifies whether the cluster should remain available after completing all steps.final Object
Describes the EC2 instances and instance configurations for the master instance fleet when using clusters with the instance fleet configuration.final Object
Describes the EC2 instances and instance configurations for the master instance group when using clusters with the uniform instance group configuration.final Object
The Availability Zone in which the cluster runs.final String
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.final Object
Describes the EC2 instances and instance configurations for the task instance fleets when using clusters with the instance fleet configuration.final Object
Describes the EC2 instances and instance configurations for task instance groups when using clusters with the uniform instance group configuration.final Object
Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.final Object
Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCluster.JobFlowInstancesConfigProperty.Builder
.
-
-
Method Details
-
getAdditionalMasterSecurityGroups
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
A list of additional Amazon EC2 security group IDs for the master node.- Specified by:
getAdditionalMasterSecurityGroups
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getAdditionalSlaveSecurityGroups
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
A list of additional Amazon EC2 security group IDs for the core and task nodes.- Specified by:
getAdditionalSlaveSecurityGroups
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getCoreInstanceFleet
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Describes the EC2 instances and instance configurations for the core instance fleet when using clusters with the instance fleet configuration.- Specified by:
getCoreInstanceFleet
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getCoreInstanceGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Describes the EC2 instances and instance configurations for core instance groups when using clusters with the uniform instance group configuration.- Specified by:
getCoreInstanceGroup
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getEc2KeyName
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
The name of the Amazon EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop.".- Specified by:
getEc2KeyName
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getEc2SubnetId
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Applies to clusters that use the uniform instance group configuration.To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value and your account supports EC2-Classic, the cluster launches in EC2-Classic.
- Specified by:
getEc2SubnetId
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getEc2SubnetIds
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Applies to clusters that use the instance fleet configuration.When multiple Amazon EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
- Specified by:
getEc2SubnetIds
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getEmrManagedMasterSecurityGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
The identifier of the Amazon EC2 security group for the master node.If you specify
EmrManagedMasterSecurityGroup
, you must also specifyEmrManagedSlaveSecurityGroup
.- Specified by:
getEmrManagedMasterSecurityGroup
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getEmrManagedSlaveSecurityGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
The identifier of the Amazon EC2 security group for the core and task nodes.If you specify
EmrManagedSlaveSecurityGroup
, you must also specifyEmrManagedMasterSecurityGroup
.- Specified by:
getEmrManagedSlaveSecurityGroup
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getHadoopVersion
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster. Valid inputs are "0.18" (no longer maintained), "0.20" (no longer maintained), "0.20.205" (no longer maintained), "1.0.3", "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is used, unless theAmiVersion
parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.- Specified by:
getHadoopVersion
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getKeepJobFlowAliveWhenNoSteps
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Specifies whether the cluster should remain available after completing all steps.Defaults to
false
. For more information about configuring cluster termination, see Control Cluster Termination in the EMR Management Guide .- Specified by:
getKeepJobFlowAliveWhenNoSteps
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getMasterInstanceFleet
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Describes the EC2 instances and instance configurations for the master instance fleet when using clusters with the instance fleet configuration.- Specified by:
getMasterInstanceFleet
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getMasterInstanceGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Describes the EC2 instances and instance configurations for the master instance group when using clusters with the uniform instance group configuration.- Specified by:
getMasterInstanceGroup
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getPlacement
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
The Availability Zone in which the cluster runs.- Specified by:
getPlacement
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getServiceAccessSecurityGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.- Specified by:
getServiceAccessSecurityGroup
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getTaskInstanceFleets
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Describes the EC2 instances and instance configurations for the task instance fleets when using clusters with the instance fleet configuration.These task instance fleets are added to the cluster as part of the cluster launch. Each task instance fleet must have a unique name specified so that CloudFormation can differentiate between the task instance fleets.
You can currently specify only one task instance fleet for a cluster. After creating the cluster, you can only modify the mutable properties of
InstanceFleetConfig
, which areTargetOnDemandCapacity
andTargetSpotCapacity
. Modifying any other property results in cluster replacement. > To allow a maximum of 30 Amazon EC2 instance types per fleet, includeTaskInstanceFleets
when you create your cluster. If you create your cluster withoutTaskInstanceFleets
, Amazon EMR uses its default allocation strategy, which allows for a maximum of five Amazon EC2 instance types.- Specified by:
getTaskInstanceFleets
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getTaskInstanceGroups
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Describes the EC2 instances and instance configurations for task instance groups when using clusters with the uniform instance group configuration.These task instance groups are added to the cluster as part of the cluster launch. Each task instance group must have a unique name specified so that CloudFormation can differentiate between the task instance groups.
After creating the cluster, you can only modify the mutable properties of
InstanceGroupConfig
, which areAutoScalingPolicy
andInstanceCount
. Modifying any other property results in cluster replacement.- Specified by:
getTaskInstanceGroups
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getTerminationProtected
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.- Specified by:
getTerminationProtected
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
getUnhealthyNodeReplacement
Description copied from interface:CfnCluster.JobFlowInstancesConfigProperty
Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.- Specified by:
getUnhealthyNodeReplacement
in interfaceCfnCluster.JobFlowInstancesConfigProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-