

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

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



**Identifier:** STEP\$1FUNCTIONS\$1STATE\$1MACHINE\$1LOGGING\$1ENABLED

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

**Trigger type:** Configuration changes

**AWS Region:** All supported AWS regions except Asia Pacific (New Zealand), Asia Pacific (Thailand), Asia Pacific (Malaysia), Asia Pacific (Melbourne), AWS GovCloud (US-East), AWS 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.

## AWS CloudFormation template
<a name="w2aac20c16c17b7e1529c19"></a>

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