

# Countermeasure
<a name="API_Countermeasure"></a>

Contains the actions that you can take for one defensive tactic.

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

 ** actions **   <a name="guardduty-Type-Countermeasure-actions"></a>
The actions for the defensive tactic.  
Type: Array of [CountermeasureAction](API_CountermeasureAction.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 25 items.  
Required: No

 ** defenseTactic **   <a name="guardduty-Type-Countermeasure-defenseTactic"></a>
The defensive tactic. Possible values are `Isolate`, `Evict`, `Restore`, `Harden`, and `Detect`.  
Type: String  
Valid Values: `Isolate | Evict | Restore | Harden | Detect`   
Required: No

 ** description **   <a name="guardduty-Type-Countermeasure-description"></a>
A description of the countermeasure.  
Type: String  
Required: No

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/guardduty-2017-11-28/Countermeasure) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/guardduty-2017-11-28/Countermeasure) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/guardduty-2017-11-28/Countermeasure) 