File Coverage

blib/lib/Paws/EMR/Ec2InstanceAttributes.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::Ec2InstanceAttributes;
2 1     1   496 use Moose;
  1         3  
  1         7  
3             has AdditionalMasterSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
4             has AdditionalSlaveSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has Ec2AvailabilityZone => (is => 'ro', isa => 'Str');
6             has Ec2KeyName => (is => 'ro', isa => 'Str');
7             has Ec2SubnetId => (is => 'ro', isa => 'Str');
8             has EmrManagedMasterSecurityGroup => (is => 'ro', isa => 'Str');
9             has EmrManagedSlaveSecurityGroup => (is => 'ro', isa => 'Str');
10             has IamInstanceProfile => (is => 'ro', isa => 'Str');
11             has RequestedEc2AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
12             has RequestedEc2SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
13             has ServiceAccessSecurityGroup => (is => 'ro', isa => 'Str');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::EMR::Ec2InstanceAttributes
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::Ec2InstanceAttributes object:
32              
33             $service_obj->Method(Att1 => { AdditionalMasterSecurityGroups => $value, ..., ServiceAccessSecurityGroup => $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::Ec2InstanceAttributes object:
38              
39             $result = $service_obj->Method(...);
40             $result->Att1->AdditionalMasterSecurityGroups
41              
42             =head1 DESCRIPTION
43              
44             Provides information about the EC2 instances in a cluster grouped by
45             category. For example, key name, subnet ID, IAM instance profile, and
46             so on.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 AdditionalMasterSecurityGroups => ArrayRef[Str|Undef]
52              
53             A list of additional Amazon EC2 security group IDs for the master node.
54              
55              
56             =head2 AdditionalSlaveSecurityGroups => ArrayRef[Str|Undef]
57              
58             A list of additional Amazon EC2 security group IDs for the slave nodes.
59              
60              
61             =head2 Ec2AvailabilityZone => Str
62              
63             The Availability Zone in which the cluster will run.
64              
65              
66             =head2 Ec2KeyName => Str
67              
68             The name of the Amazon EC2 key pair to use when connecting with SSH
69             into the master node as a user named "hadoop".
70              
71              
72             =head2 Ec2SubnetId => Str
73              
74             To launch the cluster in Amazon VPC, set this parameter to the
75             identifier of the Amazon VPC subnet where you want the cluster to
76             launch. If you do not specify this value, the cluster is launched in
77             the normal AWS cloud, outside of a VPC.
78              
79             Amazon VPC currently does not support cluster compute quadruple extra
80             large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge
81             instance type for nodes of a cluster launched in a VPC.
82              
83              
84             =head2 EmrManagedMasterSecurityGroup => Str
85              
86             The identifier of the Amazon EC2 security group for the master node.
87              
88              
89             =head2 EmrManagedSlaveSecurityGroup => Str
90              
91             The identifier of the Amazon EC2 security group for the slave nodes.
92              
93              
94             =head2 IamInstanceProfile => Str
95              
96             The IAM role that was specified when the cluster was launched. The EC2
97             instances of the cluster assume this role.
98              
99              
100             =head2 RequestedEc2AvailabilityZones => ArrayRef[Str|Undef]
101              
102             Applies to clusters configured with the instance fleets option.
103             Specifies one or more Availability Zones in which to launch EC2 cluster
104             instances when the EC2-Classic network configuration is supported.
105             Amazon EMR chooses the Availability Zone with the best fit from among
106             the list of C<RequestedEc2AvailabilityZones>, and then launches all
107             cluster instances within that Availability Zone. If you do not specify
108             this value, Amazon EMR chooses the Availability Zone for you.
109             C<RequestedEc2SubnetIDs> and C<RequestedEc2AvailabilityZones> cannot be
110             specified together.
111              
112              
113             =head2 RequestedEc2SubnetIds => ArrayRef[Str|Undef]
114              
115             Applies to clusters configured with the instance fleets option.
116             Specifies the unique identifier of one or more Amazon EC2 subnets in
117             which to launch EC2 cluster instances. Subnets must exist within the
118             same VPC. Amazon EMR chooses the EC2 subnet with the best fit from
119             among the list of C<RequestedEc2SubnetIds>, and then launches all
120             cluster instances within that Subnet. If this value is not specified,
121             and the account and region support EC2-Classic networks, the cluster
122             launches instances in the EC2-Classic network and uses
123             C<RequestedEc2AvailabilityZones> instead of this setting. If
124             EC2-Classic is not supported, and no Subnet is specified, Amazon EMR
125             chooses the subnet for you. C<RequestedEc2SubnetIDs> and
126             C<RequestedEc2AvailabilityZones> cannot be specified together.
127              
128              
129             =head2 ServiceAccessSecurityGroup => Str
130              
131             The identifier of the Amazon EC2 security group for the Amazon EMR
132             service to access clusters in VPC private subnets.
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