Struct aws_sdk_config::model::RecordingGroup
source · [−]#[non_exhaustive]pub struct RecordingGroup {
pub all_supported: bool,
pub include_global_resource_types: bool,
pub resource_types: Option<Vec<ResourceType>>,
}Expand description
Specifies the types of Amazon Web Services resource for which Config records configuration changes.
In the recording group, you specify whether all supported types or specific types of resources are recorded.
By default, Config records configuration changes for all supported types of regional resources that Config discovers in the region in which it is running. Regional resources are tied to a region and can be used only in that region. Examples of regional resources are EC2 instances and EBS volumes.
You can also have Config record configuration changes for supported types of global resources (for example, IAM resources). Global resources are not tied to an individual region and can be used in all regions.
The configuration details for any global resource are the same in all regions. If you customize Config in multiple regions to record global resources, it will create multiple configuration items each time a global resource changes: one configuration item for each region. These configuration items will contain identical data. To prevent duplicate configuration items, you should consider customizing Config in only one region to record global resources, unless you want the configuration items to be available in multiple regions.
If you don't want Config to record all resources, you can specify which types of resources it will record with the resourceTypes parameter.
For a list of supported resource types, see Supported Resource Types.
For more information, see Selecting Which Resources Config Records.
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.all_supported: boolSpecifies whether Config records configuration changes for every supported type of regional resource.
If you set this option to true, when Config adds support for a new type of regional resource, it starts recording resources of that type automatically.
If you set this option to true, you cannot enumerate a list of resourceTypes.
include_global_resource_types: boolSpecifies whether Config includes all supported types of global resources (for example, IAM resources) with the resources that it records.
Before you can set this option to true, you must set the allSupported option to true.
If you set this option to true, when Config adds support for a new type of global resource, it starts recording resources of that type automatically.
The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing Config in only one region to record global resources.
resource_types: Option<Vec<ResourceType>>A comma-separated list that specifies the types of Amazon Web Services resources for which Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail).
To record all configuration changes, you must set the allSupported option to true.
If you set this option to false, when Config adds support for a new type of resource, it will not record resources of that type unless you manually add that type to your recording group.
For a list of valid resourceTypes values, see the resourceType Value column in Supported Amazon Web Services resource Types.
Implementations
sourceimpl RecordingGroup
impl RecordingGroup
sourcepub fn all_supported(&self) -> bool
pub fn all_supported(&self) -> bool
Specifies whether Config records configuration changes for every supported type of regional resource.
If you set this option to true, when Config adds support for a new type of regional resource, it starts recording resources of that type automatically.
If you set this option to true, you cannot enumerate a list of resourceTypes.
sourcepub fn include_global_resource_types(&self) -> bool
pub fn include_global_resource_types(&self) -> bool
Specifies whether Config includes all supported types of global resources (for example, IAM resources) with the resources that it records.
Before you can set this option to true, you must set the allSupported option to true.
If you set this option to true, when Config adds support for a new type of global resource, it starts recording resources of that type automatically.
The configuration details for any global resource are the same in all regions. To prevent duplicate configuration items, you should consider customizing Config in only one region to record global resources.
sourcepub fn resource_types(&self) -> Option<&[ResourceType]>
pub fn resource_types(&self) -> Option<&[ResourceType]>
A comma-separated list that specifies the types of Amazon Web Services resources for which Config records configuration changes (for example, AWS::EC2::Instance or AWS::CloudTrail::Trail).
To record all configuration changes, you must set the allSupported option to true.
If you set this option to false, when Config adds support for a new type of resource, it will not record resources of that type unless you manually add that type to your recording group.
For a list of valid resourceTypes values, see the resourceType Value column in Supported Amazon Web Services resource Types.
sourceimpl RecordingGroup
impl RecordingGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecordingGroup.
Trait Implementations
sourceimpl Clone for RecordingGroup
impl Clone for RecordingGroup
sourcefn clone(&self) -> RecordingGroup
fn clone(&self) -> RecordingGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RecordingGroup
impl Debug for RecordingGroup
sourceimpl PartialEq<RecordingGroup> for RecordingGroup
impl PartialEq<RecordingGroup> for RecordingGroup
sourcefn eq(&self, other: &RecordingGroup) -> bool
fn eq(&self, other: &RecordingGroup) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RecordingGroup) -> bool
fn ne(&self, other: &RecordingGroup) -> bool
This method tests for !=.
impl StructuralPartialEq for RecordingGroup
Auto Trait Implementations
impl RefUnwindSafe for RecordingGroup
impl Send for RecordingGroup
impl Sync for RecordingGroup
impl Unpin for RecordingGroup
impl UnwindSafe for RecordingGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more