

# Ec2ScanModeState


The state of your Amazon EC2 scan mode configuration.

## Contents


 ** scanMode **   <a name="inspector2-Type-Ec2ScanModeState-scanMode"></a>
The scan method that is applied to the instance.  
Type: String  
Valid Values: `EC2_SSM_AGENT_BASED | EC2_HYBRID`   
Required: No

 ** scanModeStatus **   <a name="inspector2-Type-Ec2ScanModeState-scanModeStatus"></a>
The status of the Amazon EC2 scan mode setting.  
Type: String  
Valid Values: `SUCCESS | PENDING`   
Required: No

## See Also


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/inspector2-2020-06-08/Ec2ScanModeState) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/inspector2-2020-06-08/Ec2ScanModeState) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/inspector2-2020-06-08/Ec2ScanModeState) 