

# TestAction
<a name="API_TestAction"></a>

Represents a fault action that a test runs, along with the resource type it targets.

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

 ** actionId **   <a name="ngresiliencehub-Type-TestAction-actionId"></a>
The identifier of the fault action.  
Type: String  
Required: Yes

 ** resourceType **   <a name="ngresiliencehub-Type-TestAction-resourceType"></a>
The resource type that the action targets.  
Type: String  
Required: Yes

 ** description **   <a name="ngresiliencehub-Type-TestAction-description"></a>
A description of the fault action.  
Type: String  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/resiliencehubv2-2026-02-17/TestAction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/resiliencehubv2-2026-02-17/TestAction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/resiliencehubv2-2026-02-17/TestAction) 