blib/lib/Paws/EMR/InstanceGroupConfig.pm untested

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