@@ -174,87 +174,111 @@ def run(self, min_count=1, max_count=1, key_name=None,
174
174
:param max_count: The maximum number of instances to start
175
175
176
176
:type key_name: string
177
- :param key_name: The name of the keypair to run this instance with.
177
+ :param key_name: The name of the key pair with which to
178
+ launch instances.
178
179
179
- :type security_groups:
180
- :param security_groups:
180
+ :type security_groups: list of strings
181
+ :param security_groups: The names of the security groups with which to
182
+ associate instances.
181
183
182
- :type user_data:
183
- :param user_data:
184
-
185
- :type addressing_type:
186
- :param addressing_type:
184
+ :type user_data: string
185
+ :param user_data: The Base64-encoded MIME user data to be made
186
+ available to the instance(s) in this reservation.
187
187
188
188
:type instance_type: string
189
- :param instance_type: The type of instance to run. Current choices are:
190
- m1.small | m1.large | m1.xlarge | c1.medium |
191
- c1.xlarge | m2.xlarge | m2.2xlarge |
192
- m2.4xlarge | cc1.4xlarge
189
+ :param instance_type: The type of instance to run:
190
+
191
+ * t1.micro
192
+ * m1.small
193
+ * m1.medium
194
+ * m1.large
195
+ * m1.xlarge
196
+ * m3.xlarge
197
+ * m3.2xlarge
198
+ * c1.medium
199
+ * c1.xlarge
200
+ * m2.xlarge
201
+ * m2.2xlarge
202
+ * m2.4xlarge
203
+ * cr1.8xlarge
204
+ * hi1.4xlarge
205
+ * hs1.8xlarge
206
+ * cc1.4xlarge
207
+ * cg1.4xlarge
208
+ * cc2.8xlarge
193
209
194
210
:type placement: string
195
- :param placement: The availability zone in which to launch the instances
211
+ :param placement: The Availability Zone to launch the instance into.
196
212
197
213
:type kernel_id: string
198
- :param kernel_id: The ID of the kernel with which to launch the instances
214
+ :param kernel_id: The ID of the kernel with which to launch the
215
+ instances.
199
216
200
217
:type ramdisk_id: string
201
- :param ramdisk_id: The ID of the RAM disk with which to launch the instances
218
+ :param ramdisk_id: The ID of the RAM disk with which to launch the
219
+ instances.
202
220
203
221
:type monitoring_enabled: bool
204
- :param monitoring_enabled: Enable CloudWatch monitoring on the instance.
222
+ :param monitoring_enabled: Enable CloudWatch monitoring on
223
+ the instance.
205
224
206
- :type subnet_id: string
207
- :param subnet_id: The subnet ID within which to launch the instances for VPC.
225
+ :type subnet_id: string
226
+ :param subnet_id: The subnet ID within which to launch the instances
227
+ for VPC.
208
228
209
229
:type private_ip_address: string
210
- :param private_ip_address: If you're using VPC, you can optionally use
211
- this parameter to assign the instance a
212
- specific available IP address from the
213
- subnet (e.g., 10.0.0.25).
230
+ :param private_ip_address: If you're using VPC, you can
231
+ optionally use this parameter to assign the instance a
232
+ specific available IP address from the subnet (e.g.,
233
+ 10.0.0.25).
214
234
215
235
:type block_device_map: :class:`boto.ec2.blockdevicemapping.BlockDeviceMapping`
216
236
:param block_device_map: A BlockDeviceMapping data structure
217
- describing the EBS volumes associated
218
- with the Image.
237
+ describing the EBS volumes associated with the Image.
219
238
220
239
:type disable_api_termination: bool
221
240
:param disable_api_termination: If True, the instances will be locked
222
- and will not be able to be terminated
223
- via the API.
241
+ and will not be able to be terminated via the API.
224
242
225
243
:type instance_initiated_shutdown_behavior: string
226
- :param instance_initiated_shutdown_behavior: Specifies whether the instance
227
- stops or terminates on instance-initiated
228
- shutdown. Valid values are:
229
- stop | terminate
244
+ :param instance_initiated_shutdown_behavior: Specifies whether the
245
+ instance stops or terminates on instance-initiated shutdown.
246
+ Valid values are:
247
+
248
+ * stop
249
+ * terminate
230
250
231
251
:type placement_group: string
232
252
:param placement_group: If specified, this is the name of the placement
233
- group in which the instance(s) will be launched.
253
+ group in which the instance(s) will be launched.
234
254
235
255
:type additional_info: string
236
- :param additional_info: Specifies additional information to make
237
- available to the instance(s)
256
+ :param additional_info: Specifies additional information to make
257
+ available to the instance(s).
238
258
239
- :type security_group_ids:
240
- :param security_group_ids:
259
+ :type security_group_ids: list of strings
260
+ :param security_group_ids: The ID of the VPC security groups with
261
+ which to associate instances.
241
262
242
263
:type instance_profile_name: string
243
- :param instance_profile_name: The name of an IAM instance profile to use.
264
+ :param instance_profile_name: The name of
265
+ the IAM Instance Profile (IIP) to associate with the instances.
244
266
245
267
:type instance_profile_arn: string
246
- :param instance_profile_arn: The ARN of an IAM instance profile to use.
268
+ :param instance_profile_arn: The Amazon resource name (ARN) of
269
+ the IAM Instance Profile (IIP) to associate with the instances.
247
270
248
271
:type tenancy: string
249
- :param tenancy: The tenancy of the instance you want to launch. An
250
- instance with a tenancy of 'dedicated' runs on
251
- single-tenant hardware and can only be launched into a
252
- VPC. Valid values are: "default" or "dedicated".
253
- NOTE: To use dedicated tenancy you MUST specify a VPC
254
- subnet-ID as well.
272
+ :param tenancy: The tenancy of the instance you want to
273
+ launch. An instance with a tenancy of 'dedicated' runs on
274
+ single-tenant hardware and can only be launched into a
275
+ VPC. Valid values are:"default" or "dedicated".
276
+ NOTE: To use dedicated tenancy you MUST specify a VPC
277
+ subnet-ID as well.
255
278
256
279
:rtype: Reservation
257
- :return: The :class:`boto.ec2.instance.Reservation` associated with the request for machines
280
+ :return: The :class:`boto.ec2.instance.Reservation` associated with
281
+ the request for machines
258
282
259
283
"""
260
284
0 commit comments