Interface CfnConfigurationRecorder.RecordingModeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigurationRecorder.RecordingModeProperty.Jsii$Proxy
Enclosing class:
CfnConfigurationRecorder

@Stability(Stable) public static interface CfnConfigurationRecorder.RecordingModeProperty extends software.amazon.jsii.JsiiSerializable
Specifies the default recording frequency that AWS Config uses to record configuration changes.

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

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.

You can also override the recording frequency for specific resource types.

Example:

 // 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.*;
 RecordingModeProperty recordingModeProperty = RecordingModeProperty.builder()
         .recordingFrequency("recordingFrequency")
         // the properties below are optional
         .recordingModeOverrides(List.of(RecordingModeOverrideProperty.builder()
                 .recordingFrequency("recordingFrequency")
                 .resourceTypes(List.of("resourceTypes"))
                 // the properties below are optional
                 .description("description")
                 .build()))
         .build();
 

See Also: