ResourceViolation constructor

ResourceViolation({
  1. AwsEc2InstanceViolation? awsEc2InstanceViolation,
  2. AwsEc2NetworkInterfaceViolation? awsEc2NetworkInterfaceViolation,
  3. AwsVPCSecurityGroupViolation? awsVPCSecurityGroupViolation,
  4. NetworkFirewallMissingExpectedRTViolation? networkFirewallMissingExpectedRTViolation,
  5. NetworkFirewallMissingFirewallViolation? networkFirewallMissingFirewallViolation,
  6. NetworkFirewallMissingSubnetViolation? networkFirewallMissingSubnetViolation,
  7. NetworkFirewallPolicyModifiedViolation? networkFirewallPolicyModifiedViolation,
})

Implementation

ResourceViolation({
  this.awsEc2InstanceViolation,
  this.awsEc2NetworkInterfaceViolation,
  this.awsVPCSecurityGroupViolation,
  this.networkFirewallMissingExpectedRTViolation,
  this.networkFirewallMissingFirewallViolation,
  this.networkFirewallMissingSubnetViolation,
  this.networkFirewallPolicyModifiedViolation,
});