@Stability(value=Stable) public static final class CfnInstanceGroupConfig.Builder extends Object implements software.amazon.jsii.Builder<CfnInstanceGroupConfig>
CfnInstanceGroupConfig.| Modifier and Type | Method and Description |
|---|---|
CfnInstanceGroupConfig.Builder |
autoScalingPolicy(CfnInstanceGroupConfig.AutoScalingPolicyProperty autoScalingPolicy)
`AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` .
|
CfnInstanceGroupConfig.Builder |
autoScalingPolicy(IResolvable autoScalingPolicy)
`AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` .
|
CfnInstanceGroupConfig.Builder |
bidPrice(String bidPrice)
If specified, indicates that the instance group uses Spot Instances.
|
CfnInstanceGroupConfig |
build() |
CfnInstanceGroupConfig.Builder |
configurations(IResolvable configurations)
> Amazon EMR releases 4.x or later.
|
CfnInstanceGroupConfig.Builder |
configurations(List<? extends Object> configurations)
> Amazon EMR releases 4.x or later.
|
static CfnInstanceGroupConfig.Builder |
create(software.constructs.Construct scope,
String id) |
CfnInstanceGroupConfig.Builder |
customAmiId(String customAmiId)
The custom AMI ID to use for the provisioned instance group.
|
CfnInstanceGroupConfig.Builder |
ebsConfiguration(CfnInstanceGroupConfig.EbsConfigurationProperty ebsConfiguration)
`EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances.
|
CfnInstanceGroupConfig.Builder |
ebsConfiguration(IResolvable ebsConfiguration)
`EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances.
|
CfnInstanceGroupConfig.Builder |
instanceCount(Number instanceCount)
Target number of instances for the instance group.
|
CfnInstanceGroupConfig.Builder |
instanceRole(String instanceRole)
The role of the instance group in the cluster.
|
CfnInstanceGroupConfig.Builder |
instanceType(String instanceType)
The EC2 instance type for all instances in the instance group.
|
CfnInstanceGroupConfig.Builder |
jobFlowId(String jobFlowId)
The ID of an Amazon EMR cluster that you want to associate this instance group with.
|
CfnInstanceGroupConfig.Builder |
market(String market)
Market type of the EC2 instances used to create a cluster node.
|
CfnInstanceGroupConfig.Builder |
name(String name)
Friendly name given to the instance group.
|
@Stability(value=Stable) public static CfnInstanceGroupConfig.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder.@Stability(value=Stable) public CfnInstanceGroupConfig.Builder instanceCount(Number instanceCount)
instanceCount - Target number of instances for the instance group. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder instanceRole(String instanceRole)
Allowed Values : TASK
instanceRole - The role of the instance group in the cluster. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder instanceType(String instanceType)
instanceType - The EC2 instance type for all instances in the instance group. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder jobFlowId(String jobFlowId)
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 CfnInstanceGroupConfig.Builder autoScalingPolicy(CfnInstanceGroupConfig.AutoScalingPolicyProperty autoScalingPolicy)
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 .
autoScalingPolicy - `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` . This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder autoScalingPolicy(IResolvable autoScalingPolicy)
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 .
autoScalingPolicy - `AutoScalingPolicy` is a subproperty of `InstanceGroupConfig` . This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder bidPrice(String bidPrice)
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.
bidPrice - If specified, indicates that the instance group uses Spot Instances. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder configurations(IResolvable configurations)
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).
configurations - > Amazon EMR releases 4.x or later. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder configurations(List<? extends Object> configurations)
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).
configurations - > Amazon EMR releases 4.x or later. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder customAmiId(String customAmiId)
customAmiId - The custom AMI ID to use for the provisioned instance group. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder ebsConfiguration(CfnInstanceGroupConfig.EbsConfigurationProperty ebsConfiguration)
ebsConfiguration - `EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder ebsConfiguration(IResolvable ebsConfiguration)
ebsConfiguration - `EbsConfiguration` determines the EBS volumes to attach to EMR cluster instances. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder market(String market)
market - Market type of the EC2 instances used to create a cluster node. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.Builder name(String name)
name - Friendly name given to the instance group. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig build()
build in interface software.amazon.jsii.Builder<CfnInstanceGroupConfig>Copyright © 2022. All rights reserved.