Interface CfnConfigurationRecorder.ExclusionByResourceTypesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationRecorder.ExclusionByResourceTypesProperty.Jsii$Proxy
- Enclosing class:
CfnConfigurationRecorder
Use the resourceTypes field to enter a comma-separated list of resource types you want to exclude from recording.
By default, when AWS Config adds support for a new resource type in the Region where you set up the configuration recorder, including global resource types, AWS Config starts recording resources of that type automatically.
How to use
To use this option, you must set the
useOnlyfield of AWS::Config::ConfigurationRecorder RecordingStrategy toEXCLUSION_BY_RESOURCE_TYPES.AWS Config will then record configuration changes for all supported resource types, except the resource types that you specify to exclude from being recorded.
Globally recorded resources
Unless specifically listed as exclusions,
AWS::RDS::GlobalClusterwill be recorded automatically in all supported AWS Config Regions were the configuration recorder is enabled. IAM users, groups, roles, and customer managed policies will be recorded automatically in all enabled AWS Config Regions where AWS Config was available before February 2022. This list does not include the following Regions:
- Asia Pacific (Hyderabad)
- Asia Pacific (Melbourne)
- Europe (Spain)
- Europe (Zurich)
- Israel (Tel Aviv)
- Middle East (UAE)
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.*;
ExclusionByResourceTypesProperty exclusionByResourceTypesProperty = ExclusionByResourceTypesProperty.builder()
.resourceTypes(List.of("resourceTypes"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnConfigurationRecorder.ExclusionByResourceTypesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A comma-separated list of resource types to exclude from recording by the configuration recorder.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResourceTypes
A comma-separated list of resource types to exclude from recording by the configuration recorder.- See Also:
-
builder
@Stability(Stable) static CfnConfigurationRecorder.ExclusionByResourceTypesProperty.Builder builder()
-