Struct aws_sdk_fms::model::ComplianceViolator
source · [−]#[non_exhaustive]pub struct ComplianceViolator {
pub resource_id: Option<String>,
pub violation_reason: Option<ViolationReason>,
pub resource_type: Option<String>,
}
Expand description
Details of the resource that is not protected by the policy.
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_id: Option<String>
The resource ID.
violation_reason: Option<ViolationReason>
The reason that the resource is not protected by the policy.
resource_type: Option<String>
The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer
, AWS::CloudFront::Distribution
, or AWS::NetworkFirewall::FirewallPolicy
.
Implementations
The resource ID.
The reason that the resource is not protected by the policy.
The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer
, AWS::CloudFront::Distribution
, or AWS::NetworkFirewall::FirewallPolicy
.
Creates a new builder-style object to manufacture ComplianceViolator
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 ComplianceViolator
impl Send for ComplianceViolator
impl Sync for ComplianceViolator
impl Unpin for ComplianceViolator
impl UnwindSafe for ComplianceViolator
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