« blib/lib/Paws/FMS/AwsVPCSecurityGroupViolation.pm
↑ Summary
blib/lib/Paws/FMS/CustomerPolicyScopeMap.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::FMS::ComplianceViolator; | ||
| 3 | use Moose; | ||
| 4 | has ResourceId => (is => 'ro', isa => 'Str'); | ||
| 5 | has ResourceType => (is => 'ro', isa => 'Str'); | ||
| 6 | has ViolationReason => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::FMS::ComplianceViolator | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::FMS::ComplianceViolator object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ResourceId => $value, ..., ViolationReason => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::FMS::ComplianceViolator object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ResourceId | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Details of the resource that is not protected by the policy. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 ResourceId => Str | ||
| 44 | |||
| 45 | The resource ID. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 ResourceType => Str | ||
| 49 | |||
| 50 | The resource type. This is in the format shown in the AWS Resource | ||
| 51 | Types Reference | ||
| 52 | (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html). | ||
| 53 | For example: C<AWS::ElasticLoadBalancingV2::LoadBalancer>, | ||
| 54 | C<AWS::CloudFront::Distribution>, or | ||
| 55 | C<AWS::NetworkFirewall::FirewallPolicy>. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 ViolationReason => Str | ||
| 59 | |||
| 60 | The reason that the resource is not protected by the policy. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | This class forms part of L<Paws>, describing an object used in L<Paws::FMS> | ||
| 67 | |||
| 68 | =head1 BUGS and CONTRIBUTIONS | ||
| 69 | |||
| 70 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 71 | |||
| 72 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 73 | |||
| 74 | =cut | ||
| 75 |