File Coverage

blib/lib/Paws/EMR/InstanceGroupConfig.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::InstanceGroupConfig;
2 1     1   538 use Moose;
  1         3  
  1         8  
3             has AutoScalingPolicy => (is => 'ro', isa => 'Paws::EMR::AutoScalingPolicy');
4             has BidPrice => (is => 'ro', isa => 'Str');
5             has Configurations => (is => 'ro', isa => 'ArrayRef[Paws::EMR::Configuration]');
6             has EbsConfiguration => (is => 'ro', isa => 'Paws::EMR::EbsConfiguration');
7             has InstanceCount => (is => 'ro', isa => 'Int', required => 1);
8             has InstanceRole => (is => 'ro', isa => 'Str', required => 1);
9             has InstanceType => (is => 'ro', isa => 'Str', required => 1);
10             has Market => (is => 'ro', isa => 'Str');
11             has Name => (is => 'ro', isa => 'Str');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::EMR::InstanceGroupConfig
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::EMR::InstanceGroupConfig object:
30              
31             $service_obj->Method(Att1 => { AutoScalingPolicy => $value, ..., Name => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::InstanceGroupConfig object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->AutoScalingPolicy
39              
40             =head1 DESCRIPTION
41              
42             Configuration defining a new instance group.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 AutoScalingPolicy => L<Paws::EMR::AutoScalingPolicy>
48              
49             An automatic scaling policy for a core instance group or task instance
50             group in an Amazon EMR cluster. The automatic scaling policy defines
51             how an instance group dynamically adds and terminates EC2 instances in
52             response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
53              
54              
55             =head2 BidPrice => Str
56              
57             Bid price for each EC2 instance in the instance group when launching
58             nodes as Spot Instances, expressed in USD.
59              
60              
61             =head2 Configurations => ArrayRef[L<Paws::EMR::Configuration>]
62              
63             Amazon EMR releases 4.x or later.
64              
65             The list of configurations supplied for an EMR cluster instance group.
66             You can specify a separate configuration for each instance group
67             (master, core, and task).
68              
69              
70             =head2 EbsConfiguration => L<Paws::EMR::EbsConfiguration>
71              
72             EBS configurations that will be attached to each EC2 instance in the
73             instance group.
74              
75              
76             =head2 B<REQUIRED> InstanceCount => Int
77              
78             Target number of instances for the instance group.
79              
80              
81             =head2 B<REQUIRED> InstanceRole => Str
82              
83             The role of the instance group in the cluster.
84              
85              
86             =head2 B<REQUIRED> InstanceType => Str
87              
88             The EC2 instance type for all instances in the instance group.
89              
90              
91             =head2 Market => Str
92              
93             Market type of the EC2 instances used to create a cluster node.
94              
95              
96             =head2 Name => Str
97              
98             Friendly name given to the instance group.
99              
100              
101              
102             =head1 SEE ALSO
103              
104             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
105              
106             =head1 BUGS and CONTRIBUTIONS
107              
108             The source code is located here: https://github.com/pplu/aws-sdk-perl
109              
110             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
111              
112             =cut
113