blib/lib/Paws/FMS/PolicySummary.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::FMS::PolicySummary;
3 use Moose;
4 has PolicyArn => (is => 'ro', isa => 'Str');
5 has PolicyId => (is => 'ro', isa => 'Str');
6 has PolicyName => (is => 'ro', isa => 'Str');
7 has RemediationEnabled => (is => 'ro', isa => 'Bool');
8 has ResourceType => (is => 'ro', isa => 'Str');
9 has SecurityServiceType => (is => 'ro', isa => 'Str');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::FMS::PolicySummary
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::FMS::PolicySummary object:
29  
30 $service_obj->Method(Att1 => { PolicyArn => $value, ..., SecurityServiceType => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::FMS::PolicySummary object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->PolicyArn
38  
39 =head1 DESCRIPTION
40  
41 Details of the AWS Firewall Manager policy.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 PolicyArn => Str
47  
48 The Amazon Resource Name (ARN) of the specified policy.
49  
50  
51 =head2 PolicyId => Str
52  
53 The ID of the specified policy.
54  
55  
56 =head2 PolicyName => Str
57  
58 The name of the specified policy.
59  
60  
61 =head2 RemediationEnabled => Bool
62  
63 Indicates if the policy should be automatically applied to new
64 resources.
65  
66  
67 =head2 ResourceType => Str
68  
69 The type of resource protected by or in scope of the policy. This is in
70 the format shown in the AWS Resource Types Reference
71 (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
72 For AWS WAF and Shield Advanced, examples include
73 C<AWS::ElasticLoadBalancingV2::LoadBalancer> and
74 C<AWS::CloudFront::Distribution>. For a security group common policy,
75 valid values are C<AWS::EC2::NetworkInterface> and
76 C<AWS::EC2::Instance>. For a security group content audit policy, valid
77 values are C<AWS::EC2::SecurityGroup>, C<AWS::EC2::NetworkInterface>,
78 and C<AWS::EC2::Instance>. For a security group usage audit policy, the
79 value is C<AWS::EC2::SecurityGroup>. For an AWS Network Firewall
80 policy, the value is C<AWS::EC2::VPC>.
81  
82  
83 =head2 SecurityServiceType => Str
84  
85 The service that the policy is using to protect the resources. This
86 specifies the type of policy that is created, either an AWS WAF policy,
87 a Shield Advanced policy, or a security group policy.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::FMS>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102