

# Changing the recording frequency for the customer managed configuration recorder
<a name="managing-recorder_console-change-recording-frequency"></a>

Amazon Config supports continuous recording and daily recording:
+ *Continuous recording* allows you to record configuration changes continuously whenever a change occurs.
+ *Daily recording* allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded. For more information see, [Recording Frequency](https://docs.amazonaws.cn/config/latest/developerguide/select-resources.html#select-resources-recording-frequency).

You can use the Amazon Config console or the Amazon CLI change the recording frequency.

------
#### [ To change the recording frequency for the customer managed configuration recorder (Console) ]

1. Sign in to the Amazon Web Services Management Console and open the Amazon Config console at [https://console.amazonaws.cn/config/home](https://console.amazonaws.cn/config/home).

1. Choose **Settings** in the navigation pane.

1. On the **Customer managed recorder** tab, choose **Start recording**.

1. For **Recording method managed recorder**, choose **All resource types with customizable overrides**.

1. For **Default settings**, choose a recording frequency.

1. Choose **Save**.

------
#### [ To change the recording frequency (CLI) ]

Use the [http://docs.amazonaws.cn/cli/latest/reference/configservice/put-configuration-recorder.html](http://docs.amazonaws.cn/cli/latest/reference/configservice/put-configuration-recorder.html) command to change the recording frequency for the configuration recorder:

```
$ aws configservice put-configuration-recorder \
--configuration-recorder file://configurationRecorder.json
```

The `configurationRecorder.json` file specifies `name` and `roleArn` as well as the default recording frequency for the configuration recorder (`recordingMode`). You can also use this field override the recording frequency for specific resource types.

```
{
  "name": "default",
  "roleARN": "arn:aws:iam::123456789012:role/config-role",
  "recordingMode": {
    "recordingFrequency": CONTINUOUS or DAILY,
    "recordingModeOverrides": [ 
        { 
            "description": "Description you provide for the override",
            "recordingFrequency": CONTINUOUS or DAILY,
            "resourceTypes": [ Comma-separated list of resource types to include in the override ]
        }
    ]
  }
}
```

[http://docs.amazonaws.cn/cli/latest/reference/configservice/put-configuration-recorder.html](http://docs.amazonaws.cn/cli/latest/reference/configservice/put-configuration-recorder.html) uses the following fields for the `--configuration-recorder` parameter:
+ `name` – The name of the configuration recorder. Amazon Config automatically assigns the name of "default" when creating the configuration recorder.
+ `roleARN` – Amazon Resource Name (ARN) of the IAM role assumed by Amazon Config and used by the configuration recorder.
+ `recordingMode` – Specifies the default recording frequency that Amazon Config uses to record configuration changes. Amazon Config supports *Continuous recording* and *Daily recording*. Continuous recording allows you to record configuration changes continuously whenever a change occurs. Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.
  + `recordingFrequency` – The default recording frequency that Amazon Config uses to record configuration changes.
**Note**  
Amazon Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager, it is recommended that you set the recording frequency to Continuous.
  + `recordingModeOverrides` – This field allows you to specify your overrides for the recording mode. It is an array of `recordingModeOverride` objects. Each `recordingModeOverride` object in the `recordingModeOverrides` array consists of three fields:
    + `description` – A description that you provide for the override.
    + `recordingFrequency` – The recording frequency that will be applied to all the resource types specified in the override.
    + `resourceTypes` – A comma-separated list that specifies which resource types Amazon Config includes in the override.

**Note**  
**Required and optional fields**  
The `recordingMode` field for [http://docs.amazonaws.cn/cli/latest/reference/configservice/put-configuration-recorder.html](http://docs.amazonaws.cn/cli/latest/reference/configservice/put-configuration-recorder.html) is optional. By default, the recording frequency for the configuration recorder is set to Continuous recording.

**Note**  
**Limits**  
Daily recording is not supported for the following resource types:  
`AWS::Config::ResourceCompliance`
`AWS::Config::ConformancePackCompliance`
`AWS::Config::ConfigurationRecorder`
For the **Record all current and future supported resource types** (`ALL_SUPPORTED_RESOURCE_TYPES`) recording strategy, these resource types will be set to Continuous recording.

------