Class CfnConfigurationRecorderPropsMixin.RecordingModeProperty
Specifies the default recording frequency that AWS Config uses to record configuration changes.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Config.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnConfigurationRecorderPropsMixin.RecordingModeProperty : CfnConfigurationRecorderPropsMixin.IRecordingModeProperty
Syntax (vb)
Public Class CfnConfigurationRecorderPropsMixin.RecordingModeProperty Implements CfnConfigurationRecorderPropsMixin.IRecordingModeProperty
Remarks
AWS Config supports Continuous recording and Daily recording .
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Config.Mixins;
var recordingModeProperty = new RecordingModeProperty {
RecordingFrequency = "recordingFrequency",
RecordingModeOverrides = new [] { new RecordingModeOverrideProperty {
Description = "description",
RecordingFrequency = "recordingFrequency",
ResourceTypes = new [] { "resourceTypes" }
} }
};
Synopsis
Constructors
| RecordingModeProperty() | Specifies the default recording frequency that AWS Config uses to record configuration changes. |
Properties
| RecordingFrequency | The default recording frequency that AWS Config uses to record configuration changes. |
| RecordingModeOverrides | An array of |
Constructors
RecordingModeProperty()
Specifies the default recording frequency that AWS Config uses to record configuration changes.
public RecordingModeProperty()
Remarks
AWS Config supports Continuous recording and Daily recording .
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Config.Mixins;
var recordingModeProperty = new RecordingModeProperty {
RecordingFrequency = "recordingFrequency",
RecordingModeOverrides = new [] { new RecordingModeOverrideProperty {
Description = "description",
RecordingFrequency = "recordingFrequency",
ResourceTypes = new [] { "resourceTypes" }
} }
};
Properties
RecordingFrequency
The default recording frequency that AWS Config uses to record configuration changes.
public string? RecordingFrequency { get; set; }
Property Value
Remarks
Daily recording cannot be specified for the following resource types:
For the allSupported ( ALL_SUPPORTED_RESOURCE_TYPES ) recording strategy, these resource types will be set to Continuous recording.
RecordingModeOverrides
An array of recordingModeOverride objects for you to specify your overrides for the recording mode.
public object? RecordingModeOverrides { get; set; }
Property Value
Remarks
The recordingModeOverride object in the recordingModeOverrides array consists of three fields: a description , the new recordingFrequency , and an array of resourceTypes to override.
Type union: either IResolvable or (either IResolvable or CfnConfigurationRecorderPropsMixin.IRecordingModeOverrideProperty)[]