Class CfnConfigurationRecorderPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
AWS::Config::ConfigurationRecorder resource type describes the AWS resource types that AWS Config records for configuration changes.
The configuration recorder stores the configuration changes of the specified resources in your account as configuration items.
To enable AWS Config , you must create a configuration recorder and a delivery channel.
AWS Config uses the delivery channel to deliver the configuration changes to your Amazon S3 bucket or Amazon topic. For more information, see AWS::Config::DeliveryChannel .
AWS CloudFormation starts the recorder as soon as the delivery channel is available.
To stop the recorder and delete it, delete the configuration recorder from your stack. To stop the recorder without deleting it, call the StopConfigurationRecorder action of the AWS Config API directly.
For more information, see Configuration Recorder in the AWS Config Developer Guide.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.config.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnConfigurationRecorderPropsMixin cfnConfigurationRecorderPropsMixin = CfnConfigurationRecorderPropsMixin.Builder.create(CfnConfigurationRecorderMixinProps.builder()
.name("name")
.recordingGroup(RecordingGroupProperty.builder()
.allSupported(false)
.exclusionByResourceTypes(ExclusionByResourceTypesProperty.builder()
.resourceTypes(List.of("resourceTypes"))
.build())
.includeGlobalResourceTypes(false)
.recordingStrategy(RecordingStrategyProperty.builder()
.useOnly("useOnly")
.build())
.resourceTypes(List.of("resourceTypes"))
.build())
.recordingMode(RecordingModeProperty.builder()
.recordingFrequency("recordingFrequency")
.recordingModeOverrides(List.of(RecordingModeOverrideProperty.builder()
.description("description")
.recordingFrequency("recordingFrequency")
.resourceTypes(List.of("resourceTypes"))
.build()))
.build())
.roleArn("roleArn")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnConfigurationRecorderPropsMixin.static interfaceSpecifies whether the configuration recorder excludes certain resource types from being recorded.static interfaceSpecifies which resource types AWS Config records for configuration changes.static interfaceAn object for you to specify your overrides for the recording mode.static interfaceSpecifies the default recording frequency that AWS Config uses to record configuration changes.static interfaceSpecifies the recording strategy of the configuration recorder.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Config::ConfigurationRecorder.CfnConfigurationRecorderPropsMixin(CfnConfigurationRecorderMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Config::ConfigurationRecorder.protectedCfnConfigurationRecorderPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnConfigurationRecorderPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnConfigurationRecorderMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnConfigurationRecorderPropsMixin
protected CfnConfigurationRecorderPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConfigurationRecorderPropsMixin
protected CfnConfigurationRecorderPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConfigurationRecorderPropsMixin
@Stability(Stable) public CfnConfigurationRecorderPropsMixin(@NotNull CfnConfigurationRecorderMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Config::ConfigurationRecorder.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnConfigurationRecorderPropsMixin
@Stability(Stable) public CfnConfigurationRecorderPropsMixin(@NotNull CfnConfigurationRecorderMixinProps props) Create a mixin to apply properties toAWS::Config::ConfigurationRecorder.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-