Struct rusoto_fms::ResourceViolation
source · [−]pub struct ResourceViolation {
pub aws_ec_2_instance_violation: Option<AwsEc2InstanceViolation>,
pub aws_ec_2_network_interface_violation: Option<AwsEc2NetworkInterfaceViolation>,
pub aws_vpc_security_group_violation: Option<AwsVPCSecurityGroupViolation>,
pub dns_duplicate_rule_group_violation: Option<DnsDuplicateRuleGroupViolation>,
pub dns_rule_group_limit_exceeded_violation: Option<DnsRuleGroupLimitExceededViolation>,
pub dns_rule_group_priority_conflict_violation: Option<DnsRuleGroupPriorityConflictViolation>,
pub network_firewall_missing_expected_rt_violation: Option<NetworkFirewallMissingExpectedRTViolation>,
pub network_firewall_missing_firewall_violation: Option<NetworkFirewallMissingFirewallViolation>,
pub network_firewall_missing_subnet_violation: Option<NetworkFirewallMissingSubnetViolation>,
pub network_firewall_policy_modified_violation: Option<NetworkFirewallPolicyModifiedViolation>,
}
Expand description
Violation detail based on resource type.
Fields
aws_ec_2_instance_violation: Option<AwsEc2InstanceViolation>
Violation details for an EC2 instance.
aws_ec_2_network_interface_violation: Option<AwsEc2NetworkInterfaceViolation>
Violation details for network interface.
aws_vpc_security_group_violation: Option<AwsVPCSecurityGroupViolation>
Violation details for security groups.
dns_duplicate_rule_group_violation: Option<DnsDuplicateRuleGroupViolation>
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
dns_rule_group_limit_exceeded_violation: Option<DnsRuleGroupLimitExceededViolation>
Violation details for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.
dns_rule_group_priority_conflict_violation: Option<DnsRuleGroupPriorityConflictViolation>
Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
network_firewall_missing_expected_rt_violation: Option<NetworkFirewallMissingExpectedRTViolation>
Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
network_firewall_missing_firewall_violation: Option<NetworkFirewallMissingFirewallViolation>
Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
network_firewall_missing_subnet_violation: Option<NetworkFirewallMissingSubnetViolation>
Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
network_firewall_policy_modified_violation: Option<NetworkFirewallPolicyModifiedViolation>
Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.
Trait Implementations
sourceimpl Clone for ResourceViolation
impl Clone for ResourceViolation
sourcefn clone(&self) -> ResourceViolation
fn clone(&self) -> ResourceViolation
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 Debug for ResourceViolation
impl Debug for ResourceViolation
sourceimpl Default for ResourceViolation
impl Default for ResourceViolation
sourcefn default() -> ResourceViolation
fn default() -> ResourceViolation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ResourceViolation
impl<'de> Deserialize<'de> for ResourceViolation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ResourceViolation> for ResourceViolation
impl PartialEq<ResourceViolation> for ResourceViolation
sourcefn eq(&self, other: &ResourceViolation) -> bool
fn eq(&self, other: &ResourceViolation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ResourceViolation) -> bool
fn ne(&self, other: &ResourceViolation) -> bool
This method tests for !=
.
impl StructuralPartialEq for ResourceViolation
Auto Trait Implementations
impl RefUnwindSafe for ResourceViolation
impl Send for ResourceViolation
impl Sync for ResourceViolation
impl Unpin for ResourceViolation
impl UnwindSafe for ResourceViolation
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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