@Stability(value=Stable) public static final class CfnCluster.InstanceGroupConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.InstanceGroupConfigProperty>
CfnCluster.InstanceGroupConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder instanceCount(Number instanceCount)
CfnCluster.InstanceGroupConfigProperty.getInstanceCount()instanceCount - Target number of instances for the instance group. This parameter is required.this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder instanceType(String instanceType)
CfnCluster.InstanceGroupConfigProperty.getInstanceType()instanceType - The EC2 instance type for all instances in the instance group. This parameter is required.this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder autoScalingPolicy(CfnCluster.AutoScalingPolicyProperty autoScalingPolicy)
CfnCluster.InstanceGroupConfigProperty.getAutoScalingPolicy()autoScalingPolicy - `AutoScalingPolicy` is a subproperty of the [InstanceGroupConfig](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig-instancegroupconfig.html) property type that specifies the constraints and rules of an automatic scaling policy in Amazon EMR . The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. Only core and task instance groups can use automatic scaling policies. For more information, see [Using Automatic Scaling in Amazon EMR](https://docs.aws.amazon.com//emr/latest/ManagementGuide/emr-automatic-scaling.html) .this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder autoScalingPolicy(IResolvable autoScalingPolicy)
CfnCluster.InstanceGroupConfigProperty.getAutoScalingPolicy()autoScalingPolicy - `AutoScalingPolicy` is a subproperty of the [InstanceGroupConfig](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig-instancegroupconfig.html) property type that specifies the constraints and rules of an automatic scaling policy in Amazon EMR . The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. Only core and task instance groups can use automatic scaling policies. For more information, see [Using Automatic Scaling in Amazon EMR](https://docs.aws.amazon.com//emr/latest/ManagementGuide/emr-automatic-scaling.html) .this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder bidPrice(String bidPrice)
CfnCluster.InstanceGroupConfigProperty.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 CfnCluster.InstanceGroupConfigProperty.Builder configurations(IResolvable configurations)
CfnCluster.InstanceGroupConfigProperty.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 CfnCluster.InstanceGroupConfigProperty.Builder configurations(List<? extends Object> configurations)
CfnCluster.InstanceGroupConfigProperty.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 CfnCluster.InstanceGroupConfigProperty.Builder customAmiId(String customAmiId)
CfnCluster.InstanceGroupConfigProperty.getCustomAmiId()customAmiId - The custom AMI ID to use for the provisioned instance group.this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder ebsConfiguration(CfnCluster.EbsConfigurationProperty ebsConfiguration)
CfnCluster.InstanceGroupConfigProperty.getEbsConfiguration()ebsConfiguration - EBS configurations that will be attached to each EC2 instance in the instance group.this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder ebsConfiguration(IResolvable ebsConfiguration)
CfnCluster.InstanceGroupConfigProperty.getEbsConfiguration()ebsConfiguration - EBS configurations that will be attached to each EC2 instance in the instance group.this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder market(String market)
CfnCluster.InstanceGroupConfigProperty.getMarket()market - Market type of the EC2 instances used to create a cluster node.this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty.Builder name(String name)
CfnCluster.InstanceGroupConfigProperty.getName()name - Friendly name given to the instance group.this@Stability(value=Stable) public CfnCluster.InstanceGroupConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnCluster.InstanceGroupConfigProperty>CfnCluster.InstanceGroupConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.