blib/lib/Paws/EC2/Placement.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/NewDhcpConfiguration.pm ↑ Summary blib/lib/Paws/EC2/PlacementGroup.pm »
1 package Paws::EC2::Placement;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has Affinity => (is => 'ro', isa => 'Str', request_name => 'affinity', traits => ['NameInRequest']);
4 1 has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
5 1 has GroupName => (is => 'ro', isa => 'Str', request_name => 'groupName', traits => ['NameInRequest']);
6 1 has HostId => (is => 'ro', isa => 'Str', request_name => 'hostId', traits => ['NameInRequest']);
7 1 has HostResourceGroupArn => (is => 'ro', isa => 'Str', request_name => 'hostResourceGroupArn', traits => ['NameInRequest']);
8 1 has PartitionNumber => (is => 'ro', isa => 'Int', request_name => 'partitionNumber', traits => ['NameInRequest']);
9 1 has SpreadDomain => (is => 'ro', isa => 'Str', request_name => 'spreadDomain', traits => ['NameInRequest']);
10 1 has Tenancy => (is => 'ro', isa => 'Str', request_name => 'tenancy', traits => ['NameInRequest']);
11 1 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::EC2::Placement
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::EC2::Placement object:
29  
30 $service_obj->Method(Att1 => { Affinity => $value, ..., Tenancy => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Placement object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Affinity
38  
39 =head1 DESCRIPTION
40  
41 This class has no description
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 Affinity => Str
47  
48 The affinity setting for the instance on the Dedicated Host. This
49 parameter is not supported for the ImportInstance
50 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html)
51 command.
52  
53 This parameter is not supported by CreateFleet
54 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
55  
56  
57 =head2 AvailabilityZone => Str
58  
59 The Availability Zone of the instance.
60  
61 If not specified, an Availability Zone will be automatically chosen for
62 you based on the load balancing criteria for the Region.
63  
64 This parameter is not supported by CreateFleet
65 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
66  
67  
68 =head2 GroupName => Str
69  
70 The name of the placement group the instance is in.
71  
72  
73 =head2 HostId => Str
74  
75 The ID of the Dedicated Host on which the instance resides. This
76 parameter is not supported for the ImportInstance
77 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html)
78 command.
79  
80 This parameter is not supported by CreateFleet
81 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
82  
83  
84 =head2 HostResourceGroupArn => Str
85  
86 The ARN of the host resource group in which to launch the instances. If
87 you specify a host resource group ARN, omit the B<Tenancy> parameter or
88 set it to C<host>.
89  
90 This parameter is not supported by CreateFleet
91 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
92  
93  
94 =head2 PartitionNumber => Int
95  
96 The number of the partition the instance is in. Valid only if the
97 placement group strategy is set to C<partition>.
98  
99 This parameter is not supported by CreateFleet
100 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
101  
102  
103 =head2 SpreadDomain => Str
104  
105 Reserved for future use.
106  
107 This parameter is not supported by CreateFleet
108 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
109  
110  
111 =head2 Tenancy => Str
112  
113 The tenancy of the instance (if the instance is running in a VPC). An
114 instance with a tenancy of C<dedicated> runs on single-tenant hardware.
115 The C<host> tenancy is not supported for the ImportInstance
116 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html)
117 command.
118  
119 This parameter is not supported by CreateFleet
120 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet).
121  
122  
123  
124 =head1 SEE ALSO
125  
126 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
127  
128 =head1 BUGS and CONTRIBUTIONS
129  
130 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
131  
132 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
133  
134 =cut
« blib/lib/Paws/EC2/NewDhcpConfiguration.pm ↑ Summary blib/lib/Paws/EC2/PlacementGroup.pm »