#[non_exhaustive]pub struct ConformancePackEvaluationFilters {
pub config_rule_names: Option<Vec<String>>,
pub compliance_type: Option<ConformancePackComplianceType>,
pub resource_type: Option<String>,
pub resource_ids: Option<Vec<String>>,
}Expand description
Filters a conformance pack by Config rule names, compliance types, Amazon Web Services resource types, and resource IDs.
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.config_rule_names: Option<Vec<String>>Filters the results by Config rule names.
compliance_type: Option<ConformancePackComplianceType>Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is not supported.
resource_type: Option<String>Filters the results by the resource type (for example, "AWS::EC2::Instance").
resource_ids: Option<Vec<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.
Implementations
sourceimpl 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.
sourceimpl ConformancePackEvaluationFilters
impl ConformancePackEvaluationFilters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConformancePackEvaluationFilters
Trait Implementations
sourceimpl Clone for ConformancePackEvaluationFilters
impl Clone for ConformancePackEvaluationFilters
sourcefn clone(&self) -> ConformancePackEvaluationFilters
fn clone(&self) -> ConformancePackEvaluationFilters
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 PartialEq<ConformancePackEvaluationFilters> for ConformancePackEvaluationFilters
impl PartialEq<ConformancePackEvaluationFilters> for ConformancePackEvaluationFilters
sourcefn eq(&self, other: &ConformancePackEvaluationFilters) -> bool
fn eq(&self, other: &ConformancePackEvaluationFilters) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConformancePackEvaluationFilters) -> bool
fn ne(&self, other: &ConformancePackEvaluationFilters) -> bool
This method tests for !=.
impl StructuralPartialEq for ConformancePackEvaluationFilters
Auto Trait Implementations
impl RefUnwindSafe for ConformancePackEvaluationFilters
impl Send for ConformancePackEvaluationFilters
impl Sync for ConformancePackEvaluationFilters
impl Unpin for ConformancePackEvaluationFilters
impl UnwindSafe for ConformancePackEvaluationFilters
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