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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnConfigurationRecorder.RecordingModeProperty
static final class
An implementation forCfnConfigurationRecorder.RecordingModeProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRecordingFrequency
The default recording frequency that AWS Config uses to record configuration changes.Daily recording is not supported for the following resource types:
AWS::Config::ResourceCompliance
AWS::Config::ConformancePackCompliance
AWS::Config::ConfigurationRecorder
For the allSupported (
ALL_SUPPORTED_RESOURCE_TYPES
) recording strategy, these resource types will be set to Continuous recording.- See Also:
-
getRecordingModeOverrides
An array ofrecordingModeOverride
objects for you to specify your overrides for the recording mode.The
recordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.- See Also:
-
builder
-