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   581 use Moose;
  1         2  
  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 The list of availability zones
103             to choose from. The service will choose the availability zone with the
104             best mix of available capacity and lowest cost to launch the cluster.
105             If you do not specify this value, the cluster is launched in any
106             availability zone that the customer account has access to.
107              
108              
109             =head2 RequestedEc2SubnetIds => ArrayRef[Str|Undef]
110              
111             Applies to clusters configured with the instance fleets option.
112             Specifies the unique identifier of one or more Amazon EC2 subnets in
113             which to launch EC2 cluster instances. Amazon EMR chooses the EC2
114             subnet with the best performance and cost characteristics from among
115             the list of RequestedEc2SubnetIds and launches all cluster instances
116             within that subnet. If this value is not specified, and the account
117             supports EC2-Classic networks, the cluster launches instances in the
118             EC2-Classic network and uses Requested
119              
120              
121             =head2 ServiceAccessSecurityGroup => Str
122              
123             The identifier of the Amazon EC2 security group for the Amazon EMR
124             service to access clusters in VPC private subnets.
125              
126              
127              
128             =head1 SEE ALSO
129              
130             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
131              
132             =head1 BUGS and CONTRIBUTIONS
133              
134             The source code is located here: https://github.com/pplu/aws-sdk-perl
135              
136             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
137              
138             =cut
139