File Coverage

blib/lib/Paws/EMR/InstanceGroup.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


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