#[non_exhaustive]pub struct ConformancePackEvaluationFilters { /* private fields */ }Expand description
Filters a conformance pack by Config rule names, compliance types, Amazon Web Services resource types, and resource IDs.
Implementations§
source§impl ConformancePackEvaluationFilters
impl ConformancePackEvaluationFilters
sourcepub fn config_rule_names(&self) -> Option<&[String]>
pub fn config_rule_names(&self) -> Option<&[String]>
Filters the results by Config rule names.
sourcepub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
pub fn compliance_type(&self) -> Option<&ConformancePackComplianceType>
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is not supported.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
Filters the results by the resource type (for example, "AWS::EC2::Instance").
sourcepub fn resource_ids(&self) -> Option<&[String]>
pub fn resource_ids(&self) -> Option<&[String]>
Filters the results by resource IDs.
This is valid only when you provide resource type. If there is no resource type, you will see an error.
source§impl ConformancePackEvaluationFilters
impl ConformancePackEvaluationFilters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConformancePackEvaluationFilters.
Trait Implementations§
source§impl Clone for ConformancePackEvaluationFilters
impl Clone for ConformancePackEvaluationFilters
source§fn clone(&self) -> ConformancePackEvaluationFilters
fn clone(&self) -> ConformancePackEvaluationFilters
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 more