Interface CfnConfigurationRecorder.RecordingGroupProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigurationRecorder.RecordingGroupProperty.Jsii$Proxy
Enclosing class:
CfnConfigurationRecorder

@Stability(Stable) public static interface CfnConfigurationRecorder.RecordingGroupProperty extends software.amazon.jsii.JsiiSerializable
Specifies which resource types AWS Config records for configuration changes.

By default, AWS Config records configuration changes for all current and future supported resource types in the AWS Region where you have enabled AWS Config (excluding the globally recorded IAM resource types: IAM users, groups, roles, and customer managed policies).

In the recording group, you specify whether you want to record all supported current and future supported resource types or to include or exclude specific resources types. For a list of supported resource types, see Supported Resource Types in the AWS Config developer guide .

If you don't want AWS Config to record all current and future supported resource types, use one of the following recording strategies:

  • Record all current and future resource types with exclusions ( EXCLUSION_BY_RESOURCE_TYPES ), or
  • Record specific resource types ( INCLUSION_BY_RESOURCE_TYPES ).

Aurora global clusters are automatically globally recorded

The AWS::RDS::GlobalCluster resource type will be recorded in all supported AWS Config Regions where the configuration recorder is enabled.

If you do not want to record AWS::RDS::GlobalCluster in all enabled Regions, use the EXCLUSION_BY_RESOURCE_TYPES or INCLUSION_BY_RESOURCE_TYPES recording strategy.

Example:

 // 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.*;
 RecordingGroupProperty recordingGroupProperty = 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();
 

See Also: