public static final class CfnInstanceGroupConfigProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnInstanceGroupConfigProps
CfnInstanceGroupConfigProps
CfnInstanceGroupConfigProps.Builder, CfnInstanceGroupConfigProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getAutoScalingPolicy()
`AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` .
|
java.lang.String |
getBidPrice()
If specified, indicates that the instance group uses Spot Instances.
|
java.lang.Object |
getConfigurations()
> Amazon EMR releases 4.x or later.
|
java.lang.String |
getCustomAmiId()
The custom AMI ID to use for the provisioned instance group.
|
java.lang.Object |
getEbsConfiguration()
`EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances.
|
java.lang.Number |
getInstanceCount()
Target number of instances for the instance group.
|
java.lang.String |
getInstanceRole()
The role of the instance group in the cluster.
|
java.lang.String |
getInstanceType()
The EC2 instance type for all instances in the instance group.
|
java.lang.String |
getJobFlowId()
The ID of an Amazon EMR cluster that you want to associate this instance group with.
|
java.lang.String |
getMarket()
Market type of the EC2 instances used to create a cluster node.
|
java.lang.String |
getName()
Friendly name given to the instance group.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getInstanceCount()
CfnInstanceGroupConfigProps
getInstanceCount
in interface CfnInstanceGroupConfigProps
public final java.lang.String getInstanceRole()
CfnInstanceGroupConfigProps
Allowed Values : TASK
getInstanceRole
in interface CfnInstanceGroupConfigProps
public final java.lang.String getInstanceType()
CfnInstanceGroupConfigProps
getInstanceType
in interface CfnInstanceGroupConfigProps
public final java.lang.String getJobFlowId()
CfnInstanceGroupConfigProps
getJobFlowId
in interface CfnInstanceGroupConfigProps
public final java.lang.Object getAutoScalingPolicy()
CfnInstanceGroupConfigProps
AutoScalingPolicy
defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. For more information, see Using Automatic Scaling in Amazon EMR in the Amazon EMR Management Guide .
getAutoScalingPolicy
in interface CfnInstanceGroupConfigProps
public final java.lang.String getBidPrice()
CfnInstanceGroupConfigProps
This is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice
to set the amount equal to the On-Demand price, or specify an amount in USD.
getBidPrice
in interface CfnInstanceGroupConfigProps
public final java.lang.Object getConfigurations()
CfnInstanceGroupConfigProps
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
getConfigurations
in interface CfnInstanceGroupConfigProps
public final java.lang.String getCustomAmiId()
CfnInstanceGroupConfigProps
getCustomAmiId
in interface CfnInstanceGroupConfigProps
public final java.lang.Object getEbsConfiguration()
CfnInstanceGroupConfigProps
getEbsConfiguration
in interface CfnInstanceGroupConfigProps
public final java.lang.String getMarket()
CfnInstanceGroupConfigProps
getMarket
in interface CfnInstanceGroupConfigProps
public final java.lang.String getName()
CfnInstanceGroupConfigProps
getName
in interface CfnInstanceGroupConfigProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()