Class: Aws::ConfigService::Types::ExclusionByResourceTypes

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-configservice/types.rb

Overview

Specifies whether the configuration recorder excludes certain resource types from being recorded. Use the ‘resourceTypes` field to enter a comma-separated list of resource types you want to exclude from recording.

By default, when Config adds support for a new resource type in the Region where you set up the configuration recorder, including global resource types, Config starts recording resources of that type automatically.

<note markdown=“1”> How to use the exclusion recording strategy

To use this option, you must set the `useOnly` field of
RecordingStrategy][1

to ‘EXCLUSION_BY_RESOURCE_TYPES`.

Config will then record configuration changes for all supported

resource types, except the resource types that you specify to exclude from being recorded.

<b>Global resource types and the exclusion recording strategy </b>

Unless specifically listed as exclusions, `AWS::RDS::GlobalCluster`

will be recorded automatically in all supported Config Regions were the configuration recorder is enabled.

IAM users, groups, roles, and customer managed policies will be

recorded in the Region where you set up the configuration recorder if that is a Region where Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by Config after February 2022. For a list of those Regions, see [Recording Amazon Web Services Resources | Global Resources].

</note>

[1]: docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html [2]: docs.aws.amazon.com/config/latest/developerguide/select-resources.html#select-resources-all

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_typesArray<String>

A comma-separated list of resource types to exclude from recording by the configuration recorder.

Returns:

  • (Array<String>)


4128
4129
4130
4131
4132
# File 'lib/aws-sdk-configservice/types.rb', line 4128

class ExclusionByResourceTypes < Struct.new(
  :resource_types)
  SENSITIVE = []
  include Aws::Structure
end