Struct aws_sdk_config::model::ComplianceByResource [−][src]
#[non_exhaustive]pub struct ComplianceByResource {
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub compliance: Option<Compliance>,
}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.
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_type: Option<String>The type of the Amazon Web Services resource that was evaluated.
resource_id: Option<String>The ID of the Amazon Web Services resource that was evaluated.
compliance: Option<Compliance>Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
Implementations
The type of the Amazon Web Services resource that was evaluated.
The ID of the Amazon Web Services resource that was evaluated.
Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
Creates a new builder-style object to manufacture ComplianceByResource
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
