interface RecordingModeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Config.CfnConfigurationRecorder.RecordingModeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconfig#CfnConfigurationRecorder_RecordingModeProperty |
![]() | software.amazon.awscdk.services.config.CfnConfigurationRecorder.RecordingModeProperty |
![]() | aws_cdk.aws_config.CfnConfigurationRecorder.RecordingModeProperty |
![]() | aws-cdk-lib » aws_config » CfnConfigurationRecorder » RecordingModeProperty |
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 { aws_config as config } from 'aws-cdk-lib';
const recordingModeProperty: config.CfnConfigurationRecorder.RecordingModeProperty = {
recordingFrequency: 'recordingFrequency',
// the properties below are optional
recordingModeOverrides: [{
recordingFrequency: 'recordingFrequency',
resourceTypes: ['resourceTypes'],
// the properties below are optional
description: 'description',
}],
};
Properties
Name | Type | Description |
---|---|---|
recording | string | The default recording frequency that AWS Config uses to record configuration changes. |
recording | IResolvable | IResolvable | Recording [] | An array of recordingModeOverride objects for you to specify your overrides for the recording mode. |
recordingFrequency
Type:
string
The default recording frequency that AWS Config uses to record configuration changes.
Daily recording cannot be specified 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.
recordingModeOverrides?
Type:
IResolvable
|
IResolvable
|
Recording
[]
(optional)
An array of recordingModeOverride
objects for you to specify your overrides for the recording mode.
The recordingModeOverride
object in the recordingModeOverrides
array consists of three fields: a description
, the new recordingFrequency
, and an array of resourceTypes
to override.