

# RuleGroupSourceStatelessRuleDefinition
<a name="API_RuleGroupSourceStatelessRuleDefinition"></a>

The definition of the stateless rule.

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

 ** Actions **   <a name="securityhub-Type-RuleGroupSourceStatelessRuleDefinition-Actions"></a>
The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action (`aws:pass`, `aws:drop`, or `aws:forward_to_sfe`). You can then add custom actions.  
Type: Array of strings  
Pattern: `.*\S.*`   
Required: No

 ** MatchAttributes **   <a name="securityhub-Type-RuleGroupSourceStatelessRuleDefinition-MatchAttributes"></a>
The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.  
Type: [RuleGroupSourceStatelessRuleMatchAttributes](API_RuleGroupSourceStatelessRuleMatchAttributes.md) object  
Required: No

## See Also
<a name="API_RuleGroupSourceStatelessRuleDefinition_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/securityhub-2018-10-26/RuleGroupSourceStatelessRuleDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/RuleGroupSourceStatelessRuleDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/RuleGroupSourceStatelessRuleDefinition) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS Security Hub. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query securityhub` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
