Class: Aws::EMR::Types::InstanceGroupConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::InstanceGroupConfig
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
Configuration defining a new instance group.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_scaling_policy ⇒ Types::AutoScalingPolicy
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster.
-
#bid_price ⇒ String
If specified, indicates that the instance group uses Spot Instances.
-
#configurations ⇒ Array<Types::Configuration>
Amazon EMR releases 4.x or later. -
#custom_ami_id ⇒ String
The custom AMI ID to use for the provisioned instance group.
-
#ebs_configuration ⇒ Types::EbsConfiguration
EBS configurations that will be attached to each Amazon EC2 instance in the instance group.
-
#instance_count ⇒ Integer
Target number of instances for the instance group.
-
#instance_role ⇒ String
The role of the instance group in the cluster.
-
#instance_type ⇒ String
The Amazon EC2 instance type for all instances in the instance group.
-
#market ⇒ String
Market type of the Amazon EC2 instances used to create a cluster node.
-
#name ⇒ String
Friendly name given to the instance group.
Instance Attribute Details
#auto_scaling_policy ⇒ Types::AutoScalingPolicy
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#bid_price ⇒ String
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.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#configurations ⇒ Array<Types::Configuration>
The list of configurations supplied for an Amazon EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#custom_ami_id ⇒ String
The custom AMI ID to use for the provisioned instance group.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#ebs_configuration ⇒ Types::EbsConfiguration
EBS configurations that will be attached to each Amazon EC2 instance in the instance group.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#instance_count ⇒ Integer
Target number of instances for the instance group.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#instance_role ⇒ String
The role of the instance group in the cluster.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#instance_type ⇒ String
The Amazon EC2 instance type for all instances in the instance group.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#market ⇒ String
Market type of the Amazon EC2 instances used to create a cluster node.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
Friendly name given to the instance group.
2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2826 class InstanceGroupConfig < Struct.new( :name, :market, :instance_role, :bid_price, :instance_type, :instance_count, :configurations, :ebs_configuration, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |