

# EC2ManagedInstance
<a name="API_EC2ManagedInstance"></a>

Represents an EC2 instance managed by WorkSpaces.

## Contents
<a name="API_EC2ManagedInstance_Contents"></a>

 ** InstanceId **   <a name="workspacesinstances-Type-EC2ManagedInstance-InstanceId"></a>
Unique identifier of the managed EC2 instance.  
Type: String  
Required: No

## See Also
<a name="API_EC2ManagedInstance_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/workspaces-instances-2022-07-26/EC2ManagedInstance) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/workspaces-instances-2022-07-26/EC2ManagedInstance) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/workspaces-instances-2022-07-26/EC2ManagedInstance) 