File Coverage

blib/lib/Paws/EMR/JobFlowInstancesConfig.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::JobFlowInstancesConfig;
2 1     1   429 use Moose;
  1         3  
  1         9  
3             has AdditionalMasterSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
4             has AdditionalSlaveSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has Ec2KeyName => (is => 'ro', isa => 'Str');
6             has Ec2SubnetId => (is => 'ro', isa => 'Str');
7             has Ec2SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8             has EmrManagedMasterSecurityGroup => (is => 'ro', isa => 'Str');
9             has EmrManagedSlaveSecurityGroup => (is => 'ro', isa => 'Str');
10             has HadoopVersion => (is => 'ro', isa => 'Str');
11             has InstanceCount => (is => 'ro', isa => 'Int');
12             has InstanceFleets => (is => 'ro', isa => 'ArrayRef[Paws::EMR::InstanceFleetConfig]');
13             has InstanceGroups => (is => 'ro', isa => 'ArrayRef[Paws::EMR::InstanceGroupConfig]');
14             has KeepJobFlowAliveWhenNoSteps => (is => 'ro', isa => 'Bool');
15             has MasterInstanceType => (is => 'ro', isa => 'Str');
16             has Placement => (is => 'ro', isa => 'Paws::EMR::PlacementType');
17             has ServiceAccessSecurityGroup => (is => 'ro', isa => 'Str');
18             has SlaveInstanceType => (is => 'ro', isa => 'Str');
19             has TerminationProtected => (is => 'ro', isa => 'Bool');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::EMR::JobFlowInstancesConfig
27              
28             =head1 USAGE
29              
30             This class represents one of two things:
31              
32             =head3 Arguments in a call to a service
33              
34             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
35             Each attribute should be used as a named argument in the calls that expect this type of object.
36              
37             As an example, if Att1 is expected to be a Paws::EMR::JobFlowInstancesConfig object:
38              
39             $service_obj->Method(Att1 => { AdditionalMasterSecurityGroups => $value, ..., TerminationProtected => $value });
40              
41             =head3 Results returned from an API call
42              
43             Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::JobFlowInstancesConfig object:
44              
45             $result = $service_obj->Method(...);
46             $result->Att1->AdditionalMasterSecurityGroups
47              
48             =head1 DESCRIPTION
49              
50             A description of the Amazon EC2 instance on which the cluster (job
51             flow) runs. A valid JobFlowInstancesConfig must contain either
52             InstanceGroups or InstanceFleets, which is the recommended
53             configuration. They cannot be used together. You may also have
54             MasterInstanceType, SlaveInstanceType, and InstanceCount (all three
55             must be present), but we don't recommend this configuration.
56              
57             =head1 ATTRIBUTES
58              
59              
60             =head2 AdditionalMasterSecurityGroups => ArrayRef[Str|Undef]
61              
62             A list of additional Amazon EC2 security group IDs for the master node.
63              
64              
65             =head2 AdditionalSlaveSecurityGroups => ArrayRef[Str|Undef]
66              
67             A list of additional Amazon EC2 security group IDs for the slave nodes.
68              
69              
70             =head2 Ec2KeyName => Str
71              
72             The name of the EC2 key pair that can be used to ssh to the master node
73             as the user called "hadoop."
74              
75              
76             =head2 Ec2SubnetId => Str
77              
78             Applies to clusters that use the uniform instance group configuration.
79             To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set
80             this parameter to the identifier of the Amazon VPC subnet where you
81             want the cluster to launch. If you do not specify this value, the
82             cluster launches in the normal Amazon Web Services cloud, outside of an
83             Amazon VPC, if the account launching the cluster supports EC2 Classic
84             networks in the region where the cluster launches.
85              
86             Amazon VPC currently does not support cluster compute quadruple extra
87             large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge
88             instance type for clusters launched in an Amazon VPC.
89              
90              
91             =head2 Ec2SubnetIds => ArrayRef[Str|Undef]
92              
93             Applies to clusters that use the instance fleet configuration. When
94             multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and
95             launches instances in the optimal subnet.
96              
97             The instance fleet configuration is available only in Amazon EMR
98             versions 4.8.0 and later, excluding 5.0.x versions.
99              
100              
101             =head2 EmrManagedMasterSecurityGroup => Str
102              
103             The identifier of the Amazon EC2 security group for the master node.
104              
105              
106             =head2 EmrManagedSlaveSecurityGroup => Str
107              
108             The identifier of the Amazon EC2 security group for the slave nodes.
109              
110              
111             =head2 HadoopVersion => Str
112              
113             The Hadoop version for the cluster. Valid inputs are "0.18"
114             (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "1.0.3",
115             "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18
116             is used, unless the AmiVersion parameter is set in the RunJobFlow call,
117             in which case the default version of Hadoop for that AMI version is
118             used.
119              
120              
121             =head2 InstanceCount => Int
122              
123             The number of EC2 instances in the cluster.
124              
125              
126             =head2 InstanceFleets => ArrayRef[L<Paws::EMR::InstanceFleetConfig>]
127              
128             The instance fleet configuration is available only in Amazon EMR
129             versions 4.8.0 and later, excluding 5.0.x versions.
130              
131             Describes the EC2 instances and instance configurations for clusters
132             that use the instance fleet configuration.
133              
134              
135             =head2 InstanceGroups => ArrayRef[L<Paws::EMR::InstanceGroupConfig>]
136              
137             Configuration for the instance groups in a cluster.
138              
139              
140             =head2 KeepJobFlowAliveWhenNoSteps => Bool
141              
142             Specifies whether the cluster should remain available after completing
143             all steps.
144              
145              
146             =head2 MasterInstanceType => Str
147              
148             The EC2 instance type of the master node.
149              
150              
151             =head2 Placement => L<Paws::EMR::PlacementType>
152              
153             The Availability Zone in which the cluster runs.
154              
155              
156             =head2 ServiceAccessSecurityGroup => Str
157              
158             The identifier of the Amazon EC2 security group for the Amazon EMR
159             service to access clusters in VPC private subnets.
160              
161              
162             =head2 SlaveInstanceType => Str
163              
164             The EC2 instance type of the slave nodes.
165              
166              
167             =head2 TerminationProtected => Bool
168              
169             Specifies whether to lock the cluster to prevent the Amazon EC2
170             instances from being terminated by API call, user intervention, or in
171             the event of a job-flow error.
172              
173              
174              
175             =head1 SEE ALSO
176              
177             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
178              
179             =head1 BUGS and CONTRIBUTIONS
180              
181             The source code is located here: https://github.com/pplu/aws-sdk-perl
182              
183             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
184              
185             =cut
186