Contents
The following table describes and shows the elements contained in RunInstanceItemType.
Member Description Type
imageId Unique ID of a machine image, re-
turned by a call to RegisterImage.
xsd:string
minCount Minimum number of instances to
launch. If minCount is more than
Amazon EC2 can launch, no in-
stances are launched at all.
xsd:int
maxCount Maximum number of instances to
launch. If maxCount is more than
Amazon EC2 can launch, the largest
possible number above minCount
will be launched instead.
xsd:int
keyName The name of the keypair. xsd:string
InstanceStateType
The InstanceStateType data type.
Relevant Operations
Operations that use this data type include:
RunInstances
DescribeInstances
TerminateInstances
Contents
The following table describes and shows the elements contained in InstanceStateType.
Member Description Type
code A 16 bit unsigned integer. The high
byte is an opaque internal value and
should be ignored when consulting
this value. The low byte is set based
on the state represented:
pending: 0
running: 16
shutting-down: 32
terminated: 48
xsd:int
name The current state of the instance. xsd:string
Amazon EC2
Developer Guide
77
Member Description Type
pending: the instance is in the
process of being launched
running: the instance has been
launched (although it may not yet
have completed the boot process)
shutting-down: the instance has
begun the shutdown process
terminated: the instance has
been terminated
GroupSetType
The GroupSetType data type.
Relevant Operations
Operations that use this data type include:
RunInstances
Contents
The following table describes and shows the elements contained in GroupSetType.
Member Description Type
groupId Name of a security group. xsd:string
RunningInstancesItemType
The RunningInstancesItemType data type.
Relevant Operations
Operations that use this data type include:
RunInstances
Contents
The following table describes and shows the elements contained in RunningInstancesItemType.
Element Name Description Type
instanceId Unique ID of the instance launched. xsd:string
imageId Image ID of the AMI used to launch xsd:string
Amazon EC2
Developer Guide
78
Previous Page Next Page