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

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 15 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::Ec2InstanceAttributes;
3 use Moose;
4 has AdditionalMasterSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5 has AdditionalSlaveSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6 has Ec2AvailabilityZone => (is => 'ro', isa => 'Str');
7 has Ec2KeyName => (is => 'ro', isa => 'Str');
8 has Ec2SubnetId => (is => 'ro', isa => 'Str');
9 has EmrManagedMasterSecurityGroup => (is => 'ro', isa => 'Str');
10 has EmrManagedSlaveSecurityGroup => (is => 'ro', isa => 'Str');
11 has IamInstanceProfile => (is => 'ro', isa => 'Str');
12 has RequestedEc2AvailabilityZones => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
13 has RequestedEc2SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
14 has ServiceAccessSecurityGroup => (is => 'ro', isa => 'Str');
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::EMR::Ec2InstanceAttributes
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::EMR::Ec2InstanceAttributes object:
34  
35 $service_obj->Method(Att1 => { AdditionalMasterSecurityGroups => $value, ..., ServiceAccessSecurityGroup => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::Ec2InstanceAttributes object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->AdditionalMasterSecurityGroups
43  
44 =head1 DESCRIPTION
45  
46 Provides information about the EC2 instances in a cluster grouped by
47 category. For example, key name, subnet ID, IAM instance profile, and
48 so on.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 AdditionalMasterSecurityGroups => ArrayRef[Str|Undef]
54  
55 A list of additional Amazon EC2 security group IDs for the master node.
56  
57  
58 =head2 AdditionalSlaveSecurityGroups => ArrayRef[Str|Undef]
59  
60 A list of additional Amazon EC2 security group IDs for the core and
61 task nodes.
62  
63  
64 =head2 Ec2AvailabilityZone => Str
65  
66 The Availability Zone in which the cluster will run.
67  
68  
69 =head2 Ec2KeyName => Str
70  
71 The name of the Amazon EC2 key pair to use when connecting with SSH
72 into the master node as a user named "hadoop".
73  
74  
75 =head2 Ec2SubnetId => Str
76  
77 Set this parameter to the identifier of the Amazon VPC subnet where you
78 want the cluster to launch. If you do not specify this value, and your
79 account supports EC2-Classic, the cluster launches in EC2-Classic.
80  
81  
82 =head2 EmrManagedMasterSecurityGroup => Str
83  
84 The identifier of the Amazon EC2 security group for the master node.
85  
86  
87 =head2 EmrManagedSlaveSecurityGroup => Str
88  
89 The identifier of the Amazon EC2 security group for the core and task
90 nodes.
91  
92  
93 =head2 IamInstanceProfile => Str
94  
95 The IAM role that was specified when the cluster was launched. The EC2
96 instances of the cluster assume this role.
97  
98  
99 =head2 RequestedEc2AvailabilityZones => ArrayRef[Str|Undef]
100  
101 Applies to clusters configured with the instance fleets option.
102 Specifies one or more Availability Zones in which to launch EC2 cluster
103 instances when the EC2-Classic network configuration is supported.
104 Amazon EMR chooses the Availability Zone with the best fit from among
105 the list of C<RequestedEc2AvailabilityZones>, and then launches all
106 cluster instances within that Availability Zone. If you do not specify
107 this value, Amazon EMR chooses the Availability Zone for you.
108 C<RequestedEc2SubnetIDs> and C<RequestedEc2AvailabilityZones> cannot be
109 specified together.
110  
111  
112 =head2 RequestedEc2SubnetIds => ArrayRef[Str|Undef]
113  
114 Applies to clusters configured with the instance fleets option.
115 Specifies the unique identifier of one or more Amazon EC2 subnets in
116 which to launch EC2 cluster instances. Subnets must exist within the
117 same VPC. Amazon EMR chooses the EC2 subnet with the best fit from
118 among the list of C<RequestedEc2SubnetIds>, and then launches all
119 cluster instances within that Subnet. If this value is not specified,
120 and the account and Region support EC2-Classic networks, the cluster
121 launches instances in the EC2-Classic network and uses
122 C<RequestedEc2AvailabilityZones> instead of this setting. If
123 EC2-Classic is not supported, and no Subnet is specified, Amazon EMR
124 chooses the subnet for you. C<RequestedEc2SubnetIDs> and
125 C<RequestedEc2AvailabilityZones> cannot be specified together.
126  
127  
128 =head2 ServiceAccessSecurityGroup => Str
129  
130 The identifier of the Amazon EC2 security group for the Amazon EMR
131 service to access clusters in VPC private subnets.
132  
133  
134  
135 =head1 SEE ALSO
136  
137 This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
138  
139 =head1 BUGS and CONTRIBUTIONS
140  
141 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
142  
143 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
144  
145 =cut
146