Property | Type | Description | |
---|---|---|---|
$amiLaunchIndex | string | The AMI launch index, which can be used to find this instance within the launch group. | |
$architecture | string | i386 | x86_64 | |
$clientToken | string | The idempotency token you provided when you launched the instance. | |
$dnsName | string | The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state. | |
$ebsOptimized | boolean | This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using an EBS Optimized instance. | |
$hypervisor | string | ovm | xen | |
$imageId | string | The ID of the AMI used to launch the instance. | |
$instanceId | string | The ID of the instance launched. | |
$instanceLifecycle | string | spot | blank (no value) | |
$instanceType | string | The instance type (for example, m1.small). | |
$ipAddress | string | The IP address of the instance | |
$kernelId | string | The kernel associated with this instance. | |
$keyName | string | The key pair name, if this instance was launched with an associated key pair. | |
$launchTime | DateTime | The time the instance was launched. | |
$platform | string | The platform of the instance (e.g., Windows). | |
$privateDnsName | string | The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state. | |
$privateIpAddress | string | The private IP address assigned to the instance. | |
$ramdiskId | string | The RAM disk associated with this instance. | |
$reason | string | This might be an empty string. | |
$rootDeviceName | string | The root device name (e.g., /dev/sda1). | |
$rootDeviceType | string | ebs | instance-store | |
$sourceDestCheck | boolean | Specifes whether to enable a Network Address Translation (NAT) instance in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT | |
$spotInstanceRequestId | string | The ID of the Spot Instance request | |
$sriovNetSupport | string | Specifies whether enhanced networking is enabled. | |
$subnetId | string | The subnet ID in which the instance is running. | |
$virtualizationType | string | The instance's virtualization type | |
$vpcId | string | The VPC in which the instance is running. |
Property | Type | Description | |
---|---|---|---|
$_externalKeys | array | List of external identifier names. | |
$_properties | array | List of the public properties which is managed by magic getter and setters internally. |
Method | Description | |
---|---|---|
attachNetworkInterface ( string $networkInterfaceId, integer $deviceIndex ) : string | AttachNetworkInterface action | |
attachVolume ( string $volumeId, string $device ) : |
AttachVolume action | |
createTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | CreateTags action | |
deleteTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | DeleteTags action | |
describeAttribute ( Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string $attribute ) : mixed | DescribeInstanceAttribute action | |
describeStatus ( ) : Scalr\Service\Aws\Ec2\DataType\InstanceStatusData | null | DescribeInstanceStatus action | |
detachVolume ( string $volumeId, string $device = null, boolean $force = null ) : |
DetachVolume action | |
getConsoleOutput ( ) : |
GetConsoleOutput action | |
getPasswordData ( ) : |
GetPasswordData action | |
modifyAttribute ( Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string $attribute, mixed $value ) : boolean | ModifyInstanceAttribute action | |
monitor ( ) : Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | MonitorInstances action | |
reboot ( ) : boolean | RebootInstances action | |
refresh ( ) : |
DescribeInstances action | |
start ( ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | StartInstances action | |
stop ( boolean $force = null ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | StopInstances action | |
terminate ( ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | TerminateInstances | |
unmonitor ( ) : Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | UnmonitorInstances action |
Method | Description | |
---|---|---|
throwExceptionIfNotInitialized ( ) |
public attachNetworkInterface ( string $networkInterfaceId, integer $deviceIndex ) : string | ||
$networkInterfaceId | string | The ID of the network interface |
$deviceIndex | integer | The index of the device for the network interface attachment. |
return | string | Returns Attachment ID on success or throws an exception |
public attachVolume ( string $volumeId, string $device ) : |
||
$volumeId | string | The ID of the Amazon EBS volume. The volume and instance must be within the same Availability Zone |
$device | string | The device name as exposed to the instance |
return | Returns AttachmentSetResponseData on success |
public createTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | ||
$tagList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array | The key/value pair list of the Tags. |
return | boolean | Returns true on success or throws an exception otherwise |
public deleteTags ( Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array $tagList ) : boolean | ||
$tagList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetList | Scalr\Service\Aws\Ec2\DataType\ResourceTagSetData | array | The key/value pair list of the Tags. |
return | boolean | Returns true on success or throws an exception otherwise |
public describeAttribute ( Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string $attribute ) : mixed | ||
$attribute | Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string | The attribute. |
return | mixed | Returns attribute value. It may be scalar value or object depends on attribute. |
public describeStatus ( ) : Scalr\Service\Aws\Ec2\DataType\InstanceStatusData | null | ||
return | Scalr\Service\Aws\Ec2\DataType\InstanceStatusData | null | Returns InstanceStatusData object or NULL |
public detachVolume ( string $volumeId, string $device = null, boolean $force = null ) : |
||
$volumeId | string | The ID of the EBS volume. |
$device | string | optional The device name. |
$force | boolean | optional Forces detachment if the previous detachment attempt did not occur cleanly (logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance won't have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. |
return | Returns AttachmentSetResponseData on success |
public getConsoleOutput ( ) : |
||
return | Returns object which represents console output. |
public getPasswordData ( ) : |
||
return | Returns object which represents console output. |
public modifyAttribute ( Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string $attribute, mixed $value ) : boolean | ||
$attribute | Scalr\Service\Aws\Ec2\DataType\InstanceAttributeType | string | The attribute name. |
$value | mixed | The attribute value can be string, boolean, array or object depends on attribute name. |
return | boolean | Returns TRUE on success |
public monitor ( ) : Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | ||
return | Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | Returns the MonitorInstancesResponseSetList |
public refresh ( ) : |
||
return |
public start ( ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | ||
return | Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | Return the InstanceStateChangeList |
public stop ( boolean $force = null ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | ||
$force | boolean | optional Forces the instance to stop. The instance will not have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances. |
return | Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | Return the InstanceStateChangeList |
public terminate ( ) : Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | ||
return | Scalr\Service\Aws\Ec2\DataType\InstanceStateChangeList | Returns the InstanceStateChangeList |
public unmonitor ( ) : Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | ||
return | Scalr\Service\Aws\Ec2\DataType\MonitorInstancesResponseSetList | Returns the MonitorInstancesResponseSetList |
protected array $_externalKeys | ||
return | array |
protected array $_properties | ||
return | array |
public string $amiLaunchIndex | ||
return | string |
public string $clientToken | ||
return | string |
public string $dnsName | ||
return | string |
public bool $ebsOptimized | ||
return | boolean |
public string $imageId | ||
return | string |
public string $instanceId | ||
return | string |
public string $instanceLifecycle | ||
return | string |
public string $instanceType | ||
return | string |
public string $kernelId | ||
return | string |
public string $keyName | ||
return | string |
public DateTime $launchTime | ||
return | DateTime |
public string $platform | ||
return | string |
public string $privateDnsName | ||
return | string |
public string $privateIpAddress | ||
return | string |
public string $ramdiskId | ||
return | string |
public string $rootDeviceName | ||
return | string |
public bool $sourceDestCheck | ||
return | boolean |
public string $spotInstanceRequestId | ||
return | string |
public string $sriovNetSupport | ||
return | string |
public string $subnetId | ||
return | string |
public string $virtualizationType | ||
return | string |