« blib/lib/Paws/EC2/LaunchTemplatePlacement.pm
↑ Summary
blib/lib/Paws/EC2/LaunchTemplateSpecification.pm »
| 1 | package Paws::EC2::LaunchTemplatePlacementRequest; | ||
| 2 | use Moose; | ||
| 3 | has Affinity => (is => 'ro', isa => 'Str'); | ||
| 4 | has AvailabilityZone => (is => 'ro', isa => 'Str'); | ||
| 5 | has GroupName => (is => 'ro', isa => 'Str'); | ||
| 6 | has HostId => (is => 'ro', isa => 'Str'); | ||
| 7 | has HostResourceGroupArn => (is => 'ro', isa => 'Str'); | ||
| 8 | has PartitionNumber => (is => 'ro', isa => 'Int'); | ||
| 9 | has SpreadDomain => (is => 'ro', isa => 'Str'); | ||
| 10 | has Tenancy => (is => 'ro', isa => 'Str'); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::EC2::LaunchTemplatePlacementRequest | ||
| 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::LaunchTemplatePlacementRequest 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::LaunchTemplatePlacementRequest 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 an instance on a Dedicated Host. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 AvailabilityZone => Str | ||
| 52 | |||
| 53 | The Availability Zone for the instance. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 GroupName => Str | ||
| 57 | |||
| 58 | The name of the placement group for the instance. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 HostId => Str | ||
| 62 | |||
| 63 | The ID of the Dedicated Host for the instance. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 HostResourceGroupArn => Str | ||
| 67 | |||
| 68 | The ARN of the host resource group in which to launch the instances. If | ||
| 69 | you specify a host resource group ARN, omit the B<Tenancy> parameter or | ||
| 70 | set it to C<host>. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 PartitionNumber => Int | ||
| 74 | |||
| 75 | The number of the partition the instance should launch in. Valid only | ||
| 76 | if the placement group strategy is set to C<partition>. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 SpreadDomain => Str | ||
| 80 | |||
| 81 | Reserved for future use. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 Tenancy => Str | ||
| 85 | |||
| 86 | The tenancy of the instance (if the instance is running in a VPC). An | ||
| 87 | instance with a tenancy of dedicated runs on single-tenant hardware. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | =head1 SEE ALSO | ||
| 92 | |||
| 93 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 94 | |||
| 95 | =head1 BUGS and CONTRIBUTIONS | ||
| 96 | |||
| 97 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 98 | |||
| 99 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 100 | |||
| 101 | =cut |