| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EMR::InstanceGroup; | ||
| 3 | use Moose; | ||
| 4 | has AutoScalingPolicy => (is => 'ro', isa => 'Paws::EMR::AutoScalingPolicyDescription'); | ||
| 5 | has BidPrice => (is => 'ro', isa => 'Str'); | ||
| 6 | has Configurations => (is => 'ro', isa => 'ArrayRef[Paws::EMR::Configuration]'); | ||
| 7 | has ConfigurationsVersion => (is => 'ro', isa => 'Int'); | ||
| 8 | has EbsBlockDevices => (is => 'ro', isa => 'ArrayRef[Paws::EMR::EbsBlockDevice]'); | ||
| 9 | has EbsOptimized => (is => 'ro', isa => 'Bool'); | ||
| 10 | has Id => (is => 'ro', isa => 'Str'); | ||
| 11 | has InstanceGroupType => (is => 'ro', isa => 'Str'); | ||
| 12 | has InstanceType => (is => 'ro', isa => 'Str'); | ||
| 13 | has LastSuccessfullyAppliedConfigurations => (is => 'ro', isa => 'ArrayRef[Paws::EMR::Configuration]'); | ||
| 14 | has LastSuccessfullyAppliedConfigurationsVersion => (is => 'ro', isa => 'Int'); | ||
| 15 | has Market => (is => 'ro', isa => 'Str'); | ||
| 16 | has Name => (is => 'ro', isa => 'Str'); | ||
| 17 | has RequestedInstanceCount => (is => 'ro', isa => 'Int'); | ||
| 18 | has RunningInstanceCount => (is => 'ro', isa => 'Int'); | ||
| 19 | has ShrinkPolicy => (is => 'ro', isa => 'Paws::EMR::ShrinkPolicy'); | ||
| 20 | has Status => (is => 'ro', isa => 'Paws::EMR::InstanceGroupStatus'); | ||
| 21 | |||
| 22 | 1; | ||
| 23 | |||
| 24 | ### main pod documentation begin ### | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Paws::EMR::InstanceGroup | ||
| 29 | |||
| 30 | =head1 USAGE | ||
| 31 | |||
| 32 | This class represents one of two things: | ||
| 33 | |||
| 34 | =head3 Arguments in a call to a service | ||
| 35 | |||
| 36 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 37 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 38 | |||
| 39 | As an example, if Att1 is expected to be a Paws::EMR::InstanceGroup object: | ||
| 40 | |||
| 41 | $service_obj->Method(Att1 => { AutoScalingPolicy => $value, ..., Status => $value }); | ||
| 42 | |||
| 43 | =head3 Results returned from an API call | ||
| 44 | |||
| 45 | Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::InstanceGroup object: | ||
| 46 | |||
| 47 | $result = $service_obj->Method(...); | ||
| 48 | $result->Att1->AutoScalingPolicy | ||
| 49 | |||
| 50 | =head1 DESCRIPTION | ||
| 51 | |||
| 52 | This entity represents an instance group, which is a group of instances | ||
| 53 | that have common purpose. For example, CORE instance group is used for | ||
| 54 | HDFS. | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 AutoScalingPolicy => L<Paws::EMR::AutoScalingPolicyDescription> | ||
| 60 | |||
| 61 | An automatic scaling policy for a core instance group or task instance | ||
| 62 | group in an Amazon EMR cluster. The automatic scaling policy defines | ||
| 63 | how an instance group dynamically adds and terminates EC2 instances in | ||
| 64 | response to the value of a CloudWatch metric. See PutAutoScalingPolicy. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 BidPrice => Str | ||
| 68 | |||
| 69 | If specified, indicates that the instance group uses Spot Instances. | ||
| 70 | This is the maximum price you are willing to pay for Spot Instances. | ||
| 71 | Specify C<OnDemandPrice> to set the amount equal to the On-Demand | ||
| 72 | price, or specify an amount in USD. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 Configurations => ArrayRef[L<Paws::EMR::Configuration>] | ||
| 76 | |||
| 77 | Amazon EMR releases 4.x or later. | ||
| 78 | |||
| 79 | The list of configurations supplied for an EMR cluster instance group. | ||
| 80 | You can specify a separate configuration for each instance group | ||
| 81 | (master, core, and task). | ||
| 82 | |||
| 83 | |||
| 84 | =head2 ConfigurationsVersion => Int | ||
| 85 | |||
| 86 | The version number of the requested configuration specification for | ||
| 87 | this instance group. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 EbsBlockDevices => ArrayRef[L<Paws::EMR::EbsBlockDevice>] | ||
| 91 | |||
| 92 | The EBS block devices that are mapped to this instance group. | ||
| 93 | |||
| 94 | |||
| 95 | =head2 EbsOptimized => Bool | ||
| 96 | |||
| 97 | If the instance group is EBS-optimized. An Amazon EBS-optimized | ||
| 98 | instance uses an optimized configuration stack and provides additional, | ||
| 99 | dedicated capacity for Amazon EBS I/O. | ||
| 100 | |||
| 101 | |||
| 102 | =head2 Id => Str | ||
| 103 | |||
| 104 | The identifier of the instance group. | ||
| 105 | |||
| 106 | |||
| 107 | =head2 InstanceGroupType => Str | ||
| 108 | |||
| 109 | The type of the instance group. Valid values are MASTER, CORE or TASK. | ||
| 110 | |||
| 111 | |||
| 112 | =head2 InstanceType => Str | ||
| 113 | |||
| 114 | The EC2 instance type for all instances in the instance group. | ||
| 115 | |||
| 116 | |||
| 117 | =head2 LastSuccessfullyAppliedConfigurations => ArrayRef[L<Paws::EMR::Configuration>] | ||
| 118 | |||
| 119 | A list of configurations that were successfully applied for an instance | ||
| 120 | group last time. | ||
| 121 | |||
| 122 | |||
| 123 | =head2 LastSuccessfullyAppliedConfigurationsVersion => Int | ||
| 124 | |||
| 125 | The version number of a configuration specification that was | ||
| 126 | successfully applied for an instance group last time. | ||
| 127 | |||
| 128 | |||
| 129 | =head2 Market => Str | ||
| 130 | |||
| 131 | The marketplace to provision instances for this group. Valid values are | ||
| 132 | ON_DEMAND or SPOT. | ||
| 133 | |||
| 134 | |||
| 135 | =head2 Name => Str | ||
| 136 | |||
| 137 | The name of the instance group. | ||
| 138 | |||
| 139 | |||
| 140 | =head2 RequestedInstanceCount => Int | ||
| 141 | |||
| 142 | The target number of instances for the instance group. | ||
| 143 | |||
| 144 | |||
| 145 | =head2 RunningInstanceCount => Int | ||
| 146 | |||
| 147 | The number of instances currently running in this instance group. | ||
| 148 | |||
| 149 | |||
| 150 | =head2 ShrinkPolicy => L<Paws::EMR::ShrinkPolicy> | ||
| 151 | |||
| 152 | Policy for customizing shrink operations. | ||
| 153 | |||
| 154 | |||
| 155 | =head2 Status => L<Paws::EMR::InstanceGroupStatus> | ||
| 156 | |||
| 157 | The current status of the instance group. | ||
| 158 | |||
| 159 | |||
| 160 | |||
| 161 | =head1 SEE ALSO | ||
| 162 | |||
| 163 | This class forms part of L<Paws>, describing an object used in L<Paws::EMR> | ||
| 164 | |||
| 165 | =head1 BUGS and CONTRIBUTIONS | ||
| 166 | |||
| 167 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 168 | |||
| 169 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 170 | |||
| 171 | =cut | ||
| 172 |