RecordingModeOverrideProperty Struct
An object for you to specify your overrides for the recording mode.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description that you provide for the override.
recordingFrequencystringrecording_frequencystrrecordingFrequencyStringRecordingFrequencystringRecordingFrequency*string required #The recording frequency that will be applied to all the resource types specified in the override.
notes
- 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.
resourceTypesstring[]resource_typestyping.List[str]resourceTypesList<String>ResourceTypesstring[]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::ResourceComplianceAWS::Config::ConformancePackComplianceAWS::Config::ConfigurationRecorder