| 1 | package Paws::EC2::RequestSpotLaunchSpecification; | ||
| 2 | use Moose; | ||
| 3 | has AddressingType => (is => 'ro', isa => 'Str', request_name => 'addressingType', traits => ['NameInRequest']); | ||
| 4 | has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::BlockDeviceMapping]', request_name => 'blockDeviceMapping', traits => ['NameInRequest']); | ||
| 5 | has EbsOptimized => (is => 'ro', isa => 'Bool', request_name => 'ebsOptimized', traits => ['NameInRequest']); | ||
| 6 | has IamInstanceProfile => (is => 'ro', isa => 'Paws::EC2::IamInstanceProfileSpecification', request_name => 'iamInstanceProfile', traits => ['NameInRequest']); | ||
| 7 | has ImageId => (is => 'ro', isa => 'Str', request_name => 'imageId', traits => ['NameInRequest']); | ||
| 8 | has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']); | ||
| 9 | has KernelId => (is => 'ro', isa => 'Str', request_name => 'kernelId', traits => ['NameInRequest']); | ||
| 10 | has KeyName => (is => 'ro', isa => 'Str', request_name => 'keyName', traits => ['NameInRequest']); | ||
| 11 | has Monitoring => (is => 'ro', isa => 'Paws::EC2::RunInstancesMonitoringEnabled', request_name => 'monitoring', traits => ['NameInRequest']); | ||
| 12 | has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceNetworkInterfaceSpecification]', request_name => 'NetworkInterface', traits => ['NameInRequest']); | ||
| 13 | has Placement => (is => 'ro', isa => 'Paws::EC2::SpotPlacement', request_name => 'placement', traits => ['NameInRequest']); | ||
| 14 | has RamdiskId => (is => 'ro', isa => 'Str', request_name => 'ramdiskId', traits => ['NameInRequest']); | ||
| 15 | has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SecurityGroupId', traits => ['NameInRequest']); | ||
| 16 | has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SecurityGroup', traits => ['NameInRequest']); | ||
| 17 | has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']); | ||
| 18 | has UserData => (is => 'ro', isa => 'Str', request_name => 'userData', traits => ['NameInRequest']); | ||
| 19 | 1; | ||
| 20 | |||
| 21 | ### main pod documentation begin ### | ||
| 22 | |||
| 23 | =head1 NAME | ||
| 24 | |||
| 25 | Paws::EC2::RequestSpotLaunchSpecification | ||
| 26 | |||
| 27 | =head1 USAGE | ||
| 28 | |||
| 29 | This class represents one of two things: | ||
| 30 | |||
| 31 | =head3 Arguments in a call to a service | ||
| 32 | |||
| 33 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 34 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 35 | |||
| 36 | As an example, if Att1 is expected to be a Paws::EC2::RequestSpotLaunchSpecification object: | ||
| 37 | |||
| 38 | $service_obj->Method(Att1 => { AddressingType => $value, ..., UserData => $value }); | ||
| 39 | |||
| 40 | =head3 Results returned from an API call | ||
| 41 | |||
| 42 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::RequestSpotLaunchSpecification object: | ||
| 43 | |||
| 44 | $result = $service_obj->Method(...); | ||
| 45 | $result->Att1->AddressingType | ||
| 46 | |||
| 47 | =head1 DESCRIPTION | ||
| 48 | |||
| 49 | This class has no description | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 AddressingType => Str | ||
| 55 | |||
| 56 | Deprecated. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::BlockDeviceMapping>] | ||
| 60 | |||
| 61 | One or more block device mapping entries. You can't specify both a | ||
| 62 | snapshot ID and an encryption value. This is because only blank volumes | ||
| 63 | can be encrypted on creation. If a snapshot is the basis for a volume, | ||
| 64 | it is not blank and its encryption status is used for the volume | ||
| 65 | encryption status. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 EbsOptimized => Bool | ||
| 69 | |||
| 70 | Indicates whether the instance is optimized for EBS I/O. This | ||
| 71 | optimization provides dedicated throughput to Amazon EBS and an | ||
| 72 | optimized configuration stack to provide optimal EBS I/O performance. | ||
| 73 | This optimization isn't available with all instance types. Additional | ||
| 74 | usage charges apply when using an EBS Optimized instance. | ||
| 75 | |||
| 76 | Default: C<false> | ||
| 77 | |||
| 78 | |||
| 79 | =head2 IamInstanceProfile => L<Paws::EC2::IamInstanceProfileSpecification> | ||
| 80 | |||
| 81 | The IAM instance profile. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 ImageId => Str | ||
| 85 | |||
| 86 | The ID of the AMI. | ||
| 87 | |||
| 88 | |||
| 89 | =head2 InstanceType => Str | ||
| 90 | |||
| 91 | The instance type. | ||
| 92 | |||
| 93 | |||
| 94 | =head2 KernelId => Str | ||
| 95 | |||
| 96 | The ID of the kernel. | ||
| 97 | |||
| 98 | |||
| 99 | =head2 KeyName => Str | ||
| 100 | |||
| 101 | The name of the key pair. | ||
| 102 | |||
| 103 | |||
| 104 | =head2 Monitoring => L<Paws::EC2::RunInstancesMonitoringEnabled> | ||
| 105 | |||
| 106 | Indicates whether basic or detailed monitoring is enabled for the | ||
| 107 | instance. | ||
| 108 | |||
| 109 | Default: Disabled | ||
| 110 | |||
| 111 | |||
| 112 | =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::InstanceNetworkInterfaceSpecification>] | ||
| 113 | |||
| 114 | One or more network interfaces. If you specify a network interface, you | ||
| 115 | must specify subnet IDs and security group IDs using the network | ||
| 116 | interface. | ||
| 117 | |||
| 118 | |||
| 119 | =head2 Placement => L<Paws::EC2::SpotPlacement> | ||
| 120 | |||
| 121 | The placement information for the instance. | ||
| 122 | |||
| 123 | |||
| 124 | =head2 RamdiskId => Str | ||
| 125 | |||
| 126 | The ID of the RAM disk. | ||
| 127 | |||
| 128 | |||
| 129 | =head2 SecurityGroupIds => ArrayRef[Str|Undef] | ||
| 130 | |||
| 131 | One or more security group IDs. | ||
| 132 | |||
| 133 | |||
| 134 | =head2 SecurityGroups => ArrayRef[Str|Undef] | ||
| 135 | |||
| 136 | One or more security groups. When requesting instances in a VPC, you | ||
| 137 | must specify the IDs of the security groups. When requesting instances | ||
| 138 | in EC2-Classic, you can specify the names or the IDs of the security | ||
| 139 | groups. | ||
| 140 | |||
| 141 | |||
| 142 | =head2 SubnetId => Str | ||
| 143 | |||
| 144 | The ID of the subnet in which to launch the instance. | ||
| 145 | |||
| 146 | |||
| 147 | =head2 UserData => Str | ||
| 148 | |||
| 149 | The Base64-encoded user data for the instance. User data is limited to | ||
| 150 | 16 KB. | ||
| 151 | |||
| 152 | |||
| 153 | |||
| 154 | =head1 SEE ALSO | ||
| 155 | |||
| 156 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 157 | |||
| 158 | =head1 BUGS and CONTRIBUTIONS | ||
| 159 | |||
| 160 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 161 | |||
| 162 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 163 | |||
| 164 | =cut |