« blib/lib/Paws/EC2/LaunchTemplateOverrides.pm
↑ Summary
blib/lib/Paws/EC2/LaunchTemplatePlacementRequest.pm »
| 1 | package Paws::EC2::LaunchTemplatePlacement; | ||
| 2 | use Moose; | ||
| 3 | has Affinity => (is => 'ro', isa => 'Str', request_name => 'affinity', traits => ['NameInRequest']); | ||
| 4 | has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']); | ||
| 5 | has GroupName => (is => 'ro', isa => 'Str', request_name => 'groupName', traits => ['NameInRequest']); | ||
| 6 | has HostId => (is => 'ro', isa => 'Str', request_name => 'hostId', traits => ['NameInRequest']); | ||
| 7 | has HostResourceGroupArn => (is => 'ro', isa => 'Str', request_name => 'hostResourceGroupArn', traits => ['NameInRequest']); | ||
| 8 | has PartitionNumber => (is => 'ro', isa => 'Int', request_name => 'partitionNumber', traits => ['NameInRequest']); | ||
| 9 | has SpreadDomain => (is => 'ro', isa => 'Str', request_name => 'spreadDomain', traits => ['NameInRequest']); | ||
| 10 | has Tenancy => (is => 'ro', isa => 'Str', request_name => 'tenancy', traits => ['NameInRequest']); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::EC2::LaunchTemplatePlacement | ||
| 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::LaunchTemplatePlacement 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::LaunchTemplatePlacement 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. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 AvailabilityZone => Str | ||
| 52 | |||
| 53 | The Availability Zone of 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. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 PartitionNumber => Int | ||
| 72 | |||
| 73 | The number of the partition the instance should launch in. Valid only | ||
| 74 | if the placement group strategy is set to C<partition>. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 SpreadDomain => Str | ||
| 78 | |||
| 79 | Reserved for future use. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 Tenancy => Str | ||
| 83 | |||
| 84 | The tenancy of the instance (if the instance is running in a VPC). An | ||
| 85 | instance with a tenancy of C<dedicated> runs on single-tenant hardware. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 92 | |||
| 93 | =head1 BUGS and CONTRIBUTIONS | ||
| 94 | |||
| 95 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 96 | |||
| 97 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 98 | |||
| 99 | =cut |