# RecordingModeOverrideProperty

An object for you to specify your overrides for the recording mode.

- Source: Generated at build time
- Type last changed: v2.116.0 · 22 Dec 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const recordingModeOverrideProperty: config.CfnConfigurationRecorder.RecordingModeOverrideProperty = {
  recordingFrequency: 'recordingFrequency',
  resourceTypes: ['resourceTypes'],

  // the properties below are optional
  description: 'description',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_config as config

recording_mode_override_property = config.CfnConfigurationRecorder.RecordingModeOverrideProperty(
    recording_frequency="recordingFrequency",
    resource_types=["resourceTypes"],

    # the properties below are optional
    description="description"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;

RecordingModeOverrideProperty recordingModeOverrideProperty = RecordingModeOverrideProperty.builder()
        .recordingFrequency("recordingFrequency")
        .resourceTypes(List.of("resourceTypes"))

        // the properties below are optional
        .description("description")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Config;

var recordingModeOverrideProperty = new RecordingModeOverrideProperty {
    RecordingFrequency = "recordingFrequency",
    ResourceTypes = new [] { "resourceTypes" },

    // the properties below are optional
    Description = "description"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

recordingModeOverrideProperty := &RecordingModeOverrideProperty{
	RecordingFrequency: jsii.String("recordingFrequency"),
	ResourceTypes: []*string{
		jsii.String("resourceTypes"),
	},

	// the properties below are optional
	Description: jsii.String("description"),
}
```

## Properties

- `description`: string — A description that you provide for the override.

- `recordingFrequency`: string (required) — The recording frequency that will be applied to all the resource types specified in the override.

  - 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.

  > AWS 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.

- `resourceTypes`: string[] (required) — A comma-separated list that specifies which resource types AWS Config includes in the override.

  > Daily recording cannot be specified for the following resource types:
  >
  > - `AWS::Config::ResourceCompliance`
  > - `AWS::Config::ConformancePackCompliance`
  > - `AWS::Config::ConfigurationRecorder`
