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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.emr.CfnCluster.JobFlowInstancesConfigProperty
CfnCluster.JobFlowInstancesConfigProperty.Builder, CfnCluster.JobFlowInstancesConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCluster.JobFlowInstancesConfigProperty.Builder.protectedJsii$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.JsonNodefinal booleanA 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 ObjectDescribes the EC2 instances and instance configurations for the core instance fleet when using clusters with the instance fleet configuration.final ObjectDescribes the EC2 instances and instance configurations for core instance groups when using clusters with the uniform instance group configuration.final StringThe 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 StringApplies to clusters that use the uniform instance group configuration.Applies to clusters that use the instance fleet configuration.final StringThe identifier of the Amazon EC2 security group for the master node.final StringThe identifier of the Amazon EC2 security group for the core and task nodes.final StringApplies only to Amazon EMR release versions earlier than 4.0.final ObjectSpecifies whether the cluster should remain available after completing all steps.final ObjectDescribes the EC2 instances and instance configurations for the master instance fleet when using clusters with the instance fleet configuration.final ObjectDescribes the EC2 instances and instance configurations for the master instance group when using clusters with the uniform instance group configuration.final ObjectThe Availability Zone in which the cluster runs.final StringThe identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.final ObjectDescribes the EC2 instances and instance configurations for the task instance fleets when using clusters with the instance fleet configuration.final ObjectDescribes the EC2 instances and instance configurations for task instance groups when using clusters with the uniform instance group configuration.final ObjectSpecifies 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 ObjectIndicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.final inthashCode()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.JobFlowInstancesConfigPropertyA list of additional Amazon EC2 security group IDs for the master node.- Specified by:
getAdditionalMasterSecurityGroupsin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getAdditionalSlaveSecurityGroups
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyA list of additional Amazon EC2 security group IDs for the core and task nodes.- Specified by:
getAdditionalSlaveSecurityGroupsin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getCoreInstanceFleet
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyDescribes the EC2 instances and instance configurations for the core instance fleet when using clusters with the instance fleet configuration.Returns union: either
IResolvableorCfnCluster.InstanceFleetConfigProperty- Specified by:
getCoreInstanceFleetin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getCoreInstanceGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyDescribes the EC2 instances and instance configurations for core instance groups when using clusters with the uniform instance group configuration.Returns union: either
IResolvableorCfnCluster.InstanceGroupConfigProperty- Specified by:
getCoreInstanceGroupin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getEc2KeyName
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyThe 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:
getEc2KeyNamein interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getEc2SubnetId
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyApplies 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:
getEc2SubnetIdin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getEc2SubnetIds
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyApplies 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:
getEc2SubnetIdsin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getEmrManagedMasterSecurityGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyThe identifier of the Amazon EC2 security group for the master node.If you specify
EmrManagedMasterSecurityGroup, you must also specifyEmrManagedSlaveSecurityGroup.- Specified by:
getEmrManagedMasterSecurityGroupin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getEmrManagedSlaveSecurityGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyThe identifier of the Amazon EC2 security group for the core and task nodes.If you specify
EmrManagedSlaveSecurityGroup, you must also specifyEmrManagedMasterSecurityGroup.- Specified by:
getEmrManagedSlaveSecurityGroupin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getHadoopVersion
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyApplies 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 theAmiVersionparameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.- Specified by:
getHadoopVersionin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getKeepJobFlowAliveWhenNoSteps
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertySpecifies 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 .Returns union: either
BooleanorIResolvable- Specified by:
getKeepJobFlowAliveWhenNoStepsin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getMasterInstanceFleet
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyDescribes the EC2 instances and instance configurations for the master instance fleet when using clusters with the instance fleet configuration.Returns union: either
IResolvableorCfnCluster.InstanceFleetConfigProperty- Specified by:
getMasterInstanceFleetin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getMasterInstanceGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyDescribes the EC2 instances and instance configurations for the master instance group when using clusters with the uniform instance group configuration.Returns union: either
IResolvableorCfnCluster.InstanceGroupConfigProperty- Specified by:
getMasterInstanceGroupin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getPlacement
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyThe Availability Zone in which the cluster runs.Returns union: either
IResolvableorCfnCluster.PlacementTypeProperty- Specified by:
getPlacementin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getServiceAccessSecurityGroup
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyThe identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.- Specified by:
getServiceAccessSecurityGroupin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getTaskInstanceFleets
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyDescribes 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 areTargetOnDemandCapacityandTargetSpotCapacity. Modifying any other property results in cluster replacement. > To allow a maximum of 30 Amazon EC2 instance types per fleet, includeTaskInstanceFleetswhen 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.InstanceFleetConfigProperty>- Specified by:
getTaskInstanceFleetsin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getTaskInstanceGroups
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyDescribes 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 areAutoScalingPolicyandInstanceCount. Modifying any other property results in cluster replacement.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.InstanceGroupConfigProperty>- Specified by:
getTaskInstanceGroupsin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getTerminationProtected
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertySpecifies 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.Returns union: either
BooleanorIResolvable- Specified by:
getTerminationProtectedin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
getUnhealthyNodeReplacement
Description copied from interface:CfnCluster.JobFlowInstancesConfigPropertyIndicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster.Returns union: either
BooleanorIResolvable- Specified by:
getUnhealthyNodeReplacementin interfaceCfnCluster.JobFlowInstancesConfigProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-