| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SSM::PatchRule; | ||
| 3 | use Moose; | ||
| 4 | has ApproveAfterDays => (is => 'ro', isa => 'Int'); | ||
| 5 | has ApproveUntilDate => (is => 'ro', isa => 'Str'); | ||
| 6 | has ComplianceLevel => (is => 'ro', isa => 'Str'); | ||
| 7 | has EnableNonSecurity => (is => 'ro', isa => 'Bool'); | ||
| 8 | has PatchFilterGroup => (is => 'ro', isa => 'Paws::SSM::PatchFilterGroup', required => 1); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::SSM::PatchRule | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::SSM::PatchRule object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { ApproveAfterDays => $value, ..., PatchFilterGroup => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::PatchRule object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->ApproveAfterDays | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Defines an approval rule for a patch baseline. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 ApproveAfterDays => Int | ||
| 46 | |||
| 47 | The number of days after the release date of each patch matched by the | ||
| 48 | rule that the patch is marked as approved in the patch baseline. For | ||
| 49 | example, a value of C<7> means that patches are approved seven days | ||
| 50 | after they are released. Not supported on Debian Server or Ubuntu | ||
| 51 | Server. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 ApproveUntilDate => Str | ||
| 55 | |||
| 56 | The cutoff date for auto approval of released patches. Any patches | ||
| 57 | released on or before this date are installed automatically. Not | ||
| 58 | supported on Debian Server or Ubuntu Server. | ||
| 59 | |||
| 60 | Enter dates in the format C<YYYY-MM-DD>. For example, C<2020-12-31>. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ComplianceLevel => Str | ||
| 64 | |||
| 65 | A compliance severity level for all approved patches in a patch | ||
| 66 | baseline. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 EnableNonSecurity => Bool | ||
| 70 | |||
| 71 | For instances identified by the approval rule filters, enables a patch | ||
| 72 | baseline to apply non-security updates available in the specified | ||
| 73 | repository. The default value is 'false'. Applies to Linux instances | ||
| 74 | only. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> PatchFilterGroup => L<Paws::SSM::PatchFilterGroup> | ||
| 78 | |||
| 79 | The patch filter group that defines the criteria for the rule. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head1 SEE ALSO | ||
| 84 | |||
| 85 | This class forms part of L<Paws>, describing an object used in L<Paws::SSM> | ||
| 86 | |||
| 87 | =head1 BUGS and CONTRIBUTIONS | ||
| 88 | |||
| 89 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 90 | |||
| 91 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 92 | |||
| 93 | =cut | ||
| 94 |