

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Instance
<a name="API_devicemanagement_Instance"></a>

实例描述。目前，Amazon EC2 实例是唯一支持的实例类型。

## 内容
<a name="API_devicemanagement_Instance_Contents"></a>

 ** amiLaunchIndex **   <a name="Snowball-Type-devicemanagement_Instance-amiLaunchIndex"></a>
亚马逊机器映像（AMI）启动索引，您可以使用该索引在启动组中找到此实例。  
类型：整数  
必需：否

 ** blockDeviceMappings **   <a name="Snowball-Type-devicemanagement_Instance-blockDeviceMappings"></a>
实例的任何块设备映射条目。  
类型：[InstanceBlockDeviceMapping](API_devicemanagement_InstanceBlockDeviceMapping.md) 对象数组  
必需：否

 ** cpuOptions **   <a name="Snowball-Type-devicemanagement_Instance-cpuOptions"></a>
实例的 CPU 选项。  
类型：[CpuOptions](API_devicemanagement_CpuOptions.md) 对象  
必需：否

 ** createdAt **   <a name="Snowball-Type-devicemanagement_Instance-createdAt"></a>
创建实例的时间。  
类型：时间戳  
必需：否

 ** imageId **   <a name="Snowball-Type-devicemanagement_Instance-imageId"></a>
用于启动实例的 AMI 的 ID。  
类型：字符串  
必需：否

 ** instanceId **   <a name="Snowball-Type-devicemanagement_Instance-instanceId"></a>
实例的 ID。  
类型：字符串  
必需：否

 ** instanceType **   <a name="Snowball-Type-devicemanagement_Instance-instanceType"></a>
实例类型。  
类型：字符串  
必需：否

 ** privateIpAddress **   <a name="Snowball-Type-devicemanagement_Instance-privateIpAddress"></a>
分配给实例的私有 IPv4 地址。  
类型：字符串  
必需：否

 ** publicIpAddress **   <a name="Snowball-Type-devicemanagement_Instance-publicIpAddress"></a>
分配给实例的公共 IPv4 地址。  
类型：字符串  
必需：否

 ** rootDeviceName **   <a name="Snowball-Type-devicemanagement_Instance-rootDeviceName"></a>
根设备卷的设备名称（例如 `/dev/sda1`）。  
类型：字符串  
必需：否

 ** securityGroups **   <a name="Snowball-Type-devicemanagement_Instance-securityGroups"></a>
实例的安全组。  
类型：[SecurityGroupIdentifier](API_devicemanagement_SecurityGroupIdentifier.md) 对象数组  
必需：否

 ** state **   <a name="Snowball-Type-devicemanagement_Instance-state"></a>
实例当前状态的描述。  
类型：[InstanceState](API_devicemanagement_InstanceState.md) 对象  
必需：否

 ** updatedAt **   <a name="Snowball-Type-devicemanagement_Instance-updatedAt"></a>
上次更新实例的时间。  
类型：时间戳  
必需：否

## 另请参阅
<a name="API_devicemanagement_Instance_SeeAlso"></a>

有关以特定语言之一使用此 API 的更多信息 AWS SDKs，请参阅以下内容：
+  [AWS 适用于 C\+\+ 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/snow-device-management-2021-08-04/Instance) 
+  [AWS 适用于 Java 的 SDK V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/snow-device-management-2021-08-04/Instance) 
+  [AWS 适用于 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/snow-device-management-2021-08-04/Instance) 