@Stability(value=Experimental)
public static interface EmrCreateCluster.InstancesConfigProperty
extends software.amazon.jsii.JsiiSerializable
See the RunJobFlow API for complete documentation on input parameters
https://docs.aws.amazon.com/emr/latest/APIReference/API_JobFlowInstancesConfig.html| Modifier and Type | Interface and Description |
|---|---|
static class |
EmrCreateCluster.InstancesConfigProperty.Builder
A builder for
EmrCreateCluster.InstancesConfigProperty |
static class |
EmrCreateCluster.InstancesConfigProperty.Jsii$Proxy
An implementation for
EmrCreateCluster.InstancesConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static EmrCreateCluster.InstancesConfigProperty.Builder |
builder() |
default List<String> |
getAdditionalMasterSecurityGroups()
(experimental) A list of additional Amazon EC2 security group IDs for the master node.
|
default List<String> |
getAdditionalSlaveSecurityGroups()
(experimental) A list of additional Amazon EC2 security group IDs for the core and task nodes.
|
default String |
getEc2KeyName()
(experimental) The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop.".
|
default String |
getEc2SubnetId()
(experimental) Applies to clusters that use the uniform instance group configuration.
|
default List<String> |
getEc2SubnetIds()
(experimental) Applies to clusters that use the instance fleet configuration.
|
default String |
getEmrManagedMasterSecurityGroup()
(experimental) The identifier of the Amazon EC2 security group for the master node.
|
default String |
getEmrManagedSlaveSecurityGroup()
(experimental) The identifier of the Amazon EC2 security group for the core and task nodes.
|
default String |
getHadoopVersion()
(experimental) Applies only to Amazon EMR release versions earlier than 4.0.
|
default Number |
getInstanceCount()
(experimental) The number of EC2 instances in the cluster.
|
default List<EmrCreateCluster.InstanceFleetConfigProperty> |
getInstanceFleets()
(experimental) Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
|
default List<EmrCreateCluster.InstanceGroupConfigProperty> |
getInstanceGroups()
(experimental) Configuration for the instance groups in a cluster.
|
default String |
getMasterInstanceType()
(experimental) The EC2 instance type of the master node.
|
default EmrCreateCluster.PlacementTypeProperty |
getPlacement()
(experimental) The Availability Zone in which the cluster runs.
|
default String |
getServiceAccessSecurityGroup()
(experimental) The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
|
default String |
getSlaveInstanceType()
(experimental) The EC2 instance type of the core and task nodes.
|
default Boolean |
getTerminationProtected()
(experimental) 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.
|
@Stability(value=Experimental) @Nullable default List<String> getAdditionalMasterSecurityGroups()
Default: - None
@Stability(value=Experimental) @Nullable default List<String> getAdditionalSlaveSecurityGroups()
Default: - None
@Stability(value=Experimental) @Nullable default String getEc2KeyName()
Default: - None
@Stability(value=Experimental) @Nullable default String getEc2SubnetId()
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.
Default: EMR selected default
@Stability(value=Experimental) @Nullable default List<String> getEc2SubnetIds()
When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.
Default: EMR selected default
@Stability(value=Experimental) @Nullable default String getEmrManagedMasterSecurityGroup()
Default: - None
@Stability(value=Experimental) @Nullable default String getEmrManagedSlaveSecurityGroup()
Default: - None
@Stability(value=Experimental) @Nullable default String getHadoopVersion()
Default: - 0.18 if the AmiVersion parameter is not set. If AmiVersion is set, the version of Hadoop for that AMI version is used.
@Stability(value=Experimental) @Nullable default Number getInstanceCount()
Default: 0
@Stability(value=Experimental) @Nullable default List<EmrCreateCluster.InstanceFleetConfigProperty> getInstanceFleets()
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Default: - None
@Stability(value=Experimental) @Nullable default List<EmrCreateCluster.InstanceGroupConfigProperty> getInstanceGroups()
Default: - None
@Stability(value=Experimental) @Nullable default String getMasterInstanceType()
Default: - None
@Stability(value=Experimental) @Nullable default EmrCreateCluster.PlacementTypeProperty getPlacement()
Default: - EMR selected default
@Stability(value=Experimental) @Nullable default String getServiceAccessSecurityGroup()
Default: - None
@Stability(value=Experimental) @Nullable default String getSlaveInstanceType()
Default: - None
@Stability(value=Experimental) @Nullable default Boolean getTerminationProtected()
Default: false
@Stability(value=Experimental) static EmrCreateCluster.InstancesConfigProperty.Builder builder()
Copyright © 2021. All rights reserved.