Struct aws_sdk_config::types::ComplianceByResource
source · #[non_exhaustive]pub struct ComplianceByResource { /* private fields */ }Expand description
Indicates whether an Amazon Web Services resource that is evaluated according to one or more Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.
Implementations§
source§impl ComplianceByResource
impl ComplianceByResource
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of the Amazon Web Services resource that was evaluated.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the Amazon Web Services resource that was evaluated.
sourcepub fn compliance(&self) -> Option<&Compliance>
pub fn compliance(&self) -> Option<&Compliance>
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
source§impl ComplianceByResource
impl ComplianceByResource
sourcepub fn builder() -> ComplianceByResourceBuilder
pub fn builder() -> ComplianceByResourceBuilder
Creates a new builder-style object to manufacture ComplianceByResource.
Trait Implementations§
source§impl Clone for ComplianceByResource
impl Clone for ComplianceByResource
source§fn clone(&self) -> ComplianceByResource
fn clone(&self) -> ComplianceByResource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ComplianceByResource
impl Debug for ComplianceByResource
source§impl PartialEq<ComplianceByResource> for ComplianceByResource
impl PartialEq<ComplianceByResource> for ComplianceByResource
source§fn eq(&self, other: &ComplianceByResource) -> bool
fn eq(&self, other: &ComplianceByResource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComplianceByResource
Auto Trait Implementations§
impl RefUnwindSafe for ComplianceByResource
impl Send for ComplianceByResource
impl Sync for ComplianceByResource
impl Unpin for ComplianceByResource
impl UnwindSafe for ComplianceByResource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more