Class: Aws::EMR::Types::InstanceGroup
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::InstanceGroup
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_scaling_policy ⇒ Types::AutoScalingPolicyDescription
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. -
#configurations_version ⇒ Integer
The version number of the requested configuration specification for this instance group.
-
#custom_ami_id ⇒ String
The custom AMI ID to use for the provisioned instance group.
-
#ebs_block_devices ⇒ Array<Types::EbsBlockDevice>
The EBS block devices that are mapped to this instance group.
-
#ebs_optimized ⇒ Boolean
If the instance group is EBS-optimized.
-
#id ⇒ String
The identifier of the instance group.
-
#instance_group_type ⇒ String
The type of the instance group.
-
#instance_type ⇒ String
The Amazon EC2 instance type for all instances in the instance group.
-
#last_successfully_applied_configurations ⇒ Array<Types::Configuration>
A list of configurations that were successfully applied for an instance group last time.
-
#last_successfully_applied_configurations_version ⇒ Integer
The version number of a configuration specification that was successfully applied for an instance group last time.
-
#market ⇒ String
The marketplace to provision instances for this group.
-
#name ⇒ String
The name of the instance group.
-
#requested_instance_count ⇒ Integer
The target number of instances for the instance group.
-
#running_instance_count ⇒ Integer
The number of instances currently running in this instance group.
-
#shrink_policy ⇒ Types::ShrinkPolicy
Policy for customizing shrink operations.
-
#status ⇒ Types::InstanceGroupStatus
The current status of the instance group.
Instance Attribute Details
#auto_scaling_policy ⇒ Types::AutoScalingPolicyDescription
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.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :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.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :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).
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#configurations_version ⇒ Integer
The version number of the requested configuration specification for this instance group.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :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.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#ebs_block_devices ⇒ Array<Types::EbsBlockDevice>
The EBS block devices that are mapped to this instance group.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#ebs_optimized ⇒ Boolean
If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The identifier of the instance group.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#instance_group_type ⇒ String
The type of the instance group. Valid values are MASTER, CORE or TASK.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :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.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#last_successfully_applied_configurations ⇒ Array<Types::Configuration>
A list of configurations that were successfully applied for an instance group last time.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#last_successfully_applied_configurations_version ⇒ Integer
The version number of a configuration specification that was successfully applied for an instance group last time.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#market ⇒ String
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the instance group.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#requested_instance_count ⇒ Integer
The target number of instances for the instance group.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#running_instance_count ⇒ Integer
The number of instances currently running in this instance group.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#shrink_policy ⇒ Types::ShrinkPolicy
Policy for customizing shrink operations.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |
#status ⇒ Types::InstanceGroupStatus
The current status of the instance group.
2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2817 class InstanceGroup < Struct.new( :id, :name, :market, :instance_group_type, :bid_price, :instance_type, :requested_instance_count, :running_instance_count, :status, :configurations, :configurations_version, :last_successfully_applied_configurations, :last_successfully_applied_configurations_version, :ebs_block_devices, :ebs_optimized, :shrink_policy, :auto_scaling_policy, :custom_ami_id) SENSITIVE = [] include Aws::Structure end |