Struct aws_sdk_config::types::ExclusionByResourceTypes
source · #[non_exhaustive]pub struct ExclusionByResourceTypes {
pub resource_types: Option<Vec<ResourceType>>,
}Expand description
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.
How to use the exclusion recording strategy
To use this option, you must set the useOnly field of RecordingStrategy 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.
Global resource types and the exclusion recording strategy
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. This list where you cannot record the global IAM resource types includes the following Regions:
-
Asia Pacific (Hyderabad)
-
Asia Pacific (Melbourne)
-
Europe (Spain)
-
Europe (Zurich)
-
Israel (Tel Aviv)
-
Middle East (UAE)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_types: Option<Vec<ResourceType>>A comma-separated list of resource types to exclude from recording by the configuration recorder.
Implementations§
source§impl ExclusionByResourceTypes
impl ExclusionByResourceTypes
sourcepub fn resource_types(&self) -> &[ResourceType]
pub fn resource_types(&self) -> &[ResourceType]
A comma-separated list of resource types to exclude from recording by the configuration recorder.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_types.is_none().
source§impl ExclusionByResourceTypes
impl ExclusionByResourceTypes
sourcepub fn builder() -> ExclusionByResourceTypesBuilder
pub fn builder() -> ExclusionByResourceTypesBuilder
Creates a new builder-style object to manufacture ExclusionByResourceTypes.
Trait Implementations§
source§impl Clone for ExclusionByResourceTypes
impl Clone for ExclusionByResourceTypes
source§fn clone(&self) -> ExclusionByResourceTypes
fn clone(&self) -> ExclusionByResourceTypes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExclusionByResourceTypes
impl Debug for ExclusionByResourceTypes
source§impl PartialEq for ExclusionByResourceTypes
impl PartialEq for ExclusionByResourceTypes
source§fn eq(&self, other: &ExclusionByResourceTypes) -> bool
fn eq(&self, other: &ExclusionByResourceTypes) -> bool
self and other values to be equal, and is used
by ==.