Class ResourceViolation

    • Method Detail

      • awsVPCSecurityGroupViolation

        public final AwsVPCSecurityGroupViolation awsVPCSecurityGroupViolation()

        Violation detail for security groups.

        Returns:
        Violation detail for security groups.
      • awsEc2NetworkInterfaceViolation

        public final AwsEc2NetworkInterfaceViolation awsEc2NetworkInterfaceViolation()

        Violation detail for a network interface.

        Returns:
        Violation detail for a network interface.
      • awsEc2InstanceViolation

        public final AwsEc2InstanceViolation awsEc2InstanceViolation()

        Violation detail for an EC2 instance.

        Returns:
        Violation detail for an EC2 instance.
      • networkFirewallMissingFirewallViolation

        public final NetworkFirewallMissingFirewallViolation networkFirewallMissingFirewallViolation()

        Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.

        Returns:
        Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
      • networkFirewallMissingSubnetViolation

        public final NetworkFirewallMissingSubnetViolation networkFirewallMissingSubnetViolation()

        Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.

        Returns:
        Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
      • networkFirewallMissingExpectedRTViolation

        public final NetworkFirewallMissingExpectedRTViolation networkFirewallMissingExpectedRTViolation()

        Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.

        Returns:
        Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
      • networkFirewallPolicyModifiedViolation

        public final NetworkFirewallPolicyModifiedViolation 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.

        Returns:
        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.
      • networkFirewallInternetTrafficNotInspectedViolation

        public final NetworkFirewallInternetTrafficNotInspectedViolation networkFirewallInternetTrafficNotInspectedViolation()

        Violation detail for the subnet for which internet traffic hasn't been inspected.

        Returns:
        Violation detail for the subnet for which internet traffic hasn't been inspected.
      • networkFirewallInvalidRouteConfigurationViolation

        public final NetworkFirewallInvalidRouteConfigurationViolation networkFirewallInvalidRouteConfigurationViolation()

        The route configuration is invalid.

        Returns:
        The route configuration is invalid.
      • networkFirewallBlackHoleRouteDetectedViolation

        public final NetworkFirewallBlackHoleRouteDetectedViolation networkFirewallBlackHoleRouteDetectedViolation()
        Returns the value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.
        Returns:
        The value of the NetworkFirewallBlackHoleRouteDetectedViolation property for this object.
      • networkFirewallUnexpectedFirewallRoutesViolation

        public final NetworkFirewallUnexpectedFirewallRoutesViolation networkFirewallUnexpectedFirewallRoutesViolation()

        There's an unexpected firewall route.

        Returns:
        There's an unexpected firewall route.
      • networkFirewallUnexpectedGatewayRoutesViolation

        public final NetworkFirewallUnexpectedGatewayRoutesViolation networkFirewallUnexpectedGatewayRoutesViolation()

        There's an unexpected gateway route.

        Returns:
        There's an unexpected gateway route.
      • networkFirewallMissingExpectedRoutesViolation

        public final NetworkFirewallMissingExpectedRoutesViolation networkFirewallMissingExpectedRoutesViolation()

        Expected routes are missing from Network Firewall.

        Returns:
        Expected routes are missing from Network Firewall.
      • dnsRuleGroupPriorityConflictViolation

        public final DnsRuleGroupPriorityConflictViolation 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.

        Returns:
        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.
      • dnsDuplicateRuleGroupViolation

        public final DnsDuplicateRuleGroupViolation 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.

        Returns:
        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.
      • dnsRuleGroupLimitExceededViolation

        public final DnsRuleGroupLimitExceededViolation dnsRuleGroupLimitExceededViolation()

        Violation detail 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.

        Returns:
        Violation detail 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.
      • possibleRemediationActions

        public final PossibleRemediationActions possibleRemediationActions()

        A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.

        Returns:
        A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
      • firewallSubnetIsOutOfScopeViolation

        public final FirewallSubnetIsOutOfScopeViolation firewallSubnetIsOutOfScopeViolation()

        Contains details about the firewall subnet that violates the policy scope.

        Returns:
        Contains details about the firewall subnet that violates the policy scope.
      • routeHasOutOfScopeEndpointViolation

        public final RouteHasOutOfScopeEndpointViolation routeHasOutOfScopeEndpointViolation()

        Contains details about the route endpoint that violates the policy scope.

        Returns:
        Contains details about the route endpoint that violates the policy scope.
      • thirdPartyFirewallMissingFirewallViolation

        public final ThirdPartyFirewallMissingFirewallViolation thirdPartyFirewallMissingFirewallViolation()

        The violation details for a third-party firewall that's been deleted.

        Returns:
        The violation details for a third-party firewall that's been deleted.
      • thirdPartyFirewallMissingSubnetViolation

        public final ThirdPartyFirewallMissingSubnetViolation thirdPartyFirewallMissingSubnetViolation()

        The violation details for a third-party firewall's subnet that's been deleted.

        Returns:
        The violation details for a third-party firewall's subnet that's been deleted.
      • thirdPartyFirewallMissingExpectedRouteTableViolation

        public final ThirdPartyFirewallMissingExpectedRouteTableViolation thirdPartyFirewallMissingExpectedRouteTableViolation()

        The violation details for a third-party firewall that has the Firewall Manager managed route table that was associated with the third-party firewall has been deleted.

        Returns:
        The violation details for a third-party firewall that has the Firewall Manager managed route table that was associated with the third-party firewall has been deleted.
      • firewallSubnetMissingVPCEndpointViolation

        public final FirewallSubnetMissingVPCEndpointViolation firewallSubnetMissingVPCEndpointViolation()

        The violation details for a third-party firewall's VPC endpoint subnet that was deleted.

        Returns:
        The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)