@Stability(value=Stable) public static final class CfnInstanceGroupConfigProps.Builder extends Object implements software.amazon.jsii.Builder<CfnInstanceGroupConfigProps>
CfnInstanceGroupConfigProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder instanceCount(Number instanceCount)
CfnInstanceGroupConfigProps.getInstanceCount()instanceCount - Target number of instances for the instance group. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder instanceRole(String instanceRole)
CfnInstanceGroupConfigProps.getInstanceRole()instanceRole - The role of the instance group in the cluster. This parameter is required.
Allowed Values : TASKthis@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder instanceType(String instanceType)
CfnInstanceGroupConfigProps.getInstanceType()instanceType - The EC2 instance type for all instances in the instance group. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder jobFlowId(String jobFlowId)
CfnInstanceGroupConfigProps.getJobFlowId()jobFlowId - The ID of an Amazon EMR cluster that you want to associate this instance group with. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder autoScalingPolicy(CfnInstanceGroupConfig.AutoScalingPolicyProperty autoScalingPolicy)
CfnInstanceGroupConfigProps.getAutoScalingPolicy()autoScalingPolicy - `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` .
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 .this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder autoScalingPolicy(IResolvable autoScalingPolicy)
CfnInstanceGroupConfigProps.getAutoScalingPolicy()autoScalingPolicy - `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` .
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 .this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder bidPrice(String bidPrice)
CfnInstanceGroupConfigProps.getBidPrice()bidPrice - If specified, indicates that the instance group uses Spot Instances.
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.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder configurations(IResolvable configurations)
CfnInstanceGroupConfigProps.getConfigurations()configurations - > Amazon EMR releases 4.x or later.
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).this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder configurations(List<? extends Object> configurations)
CfnInstanceGroupConfigProps.getConfigurations()configurations - > Amazon EMR releases 4.x or later.
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).this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder customAmiId(String customAmiId)
CfnInstanceGroupConfigProps.getCustomAmiId()customAmiId - The custom AMI ID to use for the provisioned instance group.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder ebsConfiguration(CfnInstanceGroupConfig.EbsConfigurationProperty ebsConfiguration)
CfnInstanceGroupConfigProps.getEbsConfiguration()ebsConfiguration - `EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder ebsConfiguration(IResolvable ebsConfiguration)
CfnInstanceGroupConfigProps.getEbsConfiguration()ebsConfiguration - `EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder market(String market)
CfnInstanceGroupConfigProps.getMarket()market - Market type of the EC2 instances used to create a cluster node.this@Stability(value=Stable) public CfnInstanceGroupConfigProps.Builder name(String name)
CfnInstanceGroupConfigProps.getName()name - Friendly name given to the instance group.this@Stability(value=Stable) public CfnInstanceGroupConfigProps build()
build in interface software.amazon.jsii.Builder<CfnInstanceGroupConfigProps>CfnInstanceGroupConfigPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.