

# step-functions-state-machine-logging-enabled
<a name="step-functions-state-machine-logging-enabled"></a>

Checks if Amazon Step Functions machine has logging enabled. The rule is NON\_COMPLIANT if a state machine does not have logging enabled or the logging configuration is not at the minimum level provided. 



**Identifier:** STEP\_FUNCTIONS\_STATE\_MACHINE\_LOGGING\_ENABLED

**Resource Types:** AWS::StepFunctions::StateMachine

**Trigger type:** Configuration changes

**Amazon Web Services Region:** All supported Amazon regions except Asia Pacific (New Zealand), Asia Pacific (Thailand), Asia Pacific (Malaysia), Asia Pacific (Melbourne), Amazon GovCloud (US-East), Amazon GovCloud (US-West), Mexico (Central), Israel (Tel Aviv), Asia Pacific (Taipei), Canada West (Calgary) Region

**Parameters:**

cloudWatchLogGroupArns (Optional)Type: CSV  
Comma-separated list of Amazon Resource Names (ARNs) for Amazon CloudWatch Logs log groups. The rule checks if the specified log groups are configured for your state machine logs.

logLevel (Optional)Type: String  
The minimum log level for your state machine. Valid values include: ALL, ERROR, FATAL.

## Amazon CloudFormation template
<a name="w2aac20c16c17b7e1539c19"></a>

To create Amazon Config managed rules with Amazon CloudFormation templates, see [Creating Amazon Config Managed Rules With Amazon CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).