Class CfnConfigurationRecorder.RecordingModeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnConfigurationRecorder.RecordingModeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationRecorder.RecordingModeProperty>
- Enclosing interface:
CfnConfigurationRecorder.RecordingModeProperty
@Stability(Stable)
public static final class CfnConfigurationRecorder.RecordingModeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationRecorder.RecordingModeProperty>
A builder for
CfnConfigurationRecorder.RecordingModeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.recordingFrequency
(String recordingFrequency) Sets the value ofCfnConfigurationRecorder.RecordingModeProperty.getRecordingFrequency()
recordingModeOverrides
(List<? extends Object> recordingModeOverrides) recordingModeOverrides
(IResolvable recordingModeOverrides)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordingFrequency
@Stability(Stable) public CfnConfigurationRecorder.RecordingModeProperty.Builder recordingFrequency(String recordingFrequency) Sets the value ofCfnConfigurationRecorder.RecordingModeProperty.getRecordingFrequency()
- Parameters:
recordingFrequency
- The default recording frequency that AWS Config uses to record configuration changes. This parameter is required.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.- Returns:
this
-
recordingModeOverrides
@Stability(Stable) public CfnConfigurationRecorder.RecordingModeProperty.Builder recordingModeOverrides(IResolvable recordingModeOverrides) - Parameters:
recordingModeOverrides
- An array ofrecordingModeOverride
objects for you to specify your overrides for the recording mode. TherecordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.- Returns:
this
-
recordingModeOverrides
@Stability(Stable) public CfnConfigurationRecorder.RecordingModeProperty.Builder recordingModeOverrides(List<? extends Object> recordingModeOverrides) - Parameters:
recordingModeOverrides
- An array ofrecordingModeOverride
objects for you to specify your overrides for the recording mode. TherecordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationRecorder.RecordingModeProperty>
- Returns:
- a new instance of
CfnConfigurationRecorder.RecordingModeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-