« blib/lib/Paws/Inspector/AssessmentTargetFilter.pm
↑ Summary
blib/lib/Paws/Inspector/AssessmentTemplateFilter.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Inspector::AssessmentTemplate; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest'], required => 1); | ||
| 5 | has AssessmentRunCount => (is => 'ro', isa => 'Int', request_name => 'assessmentRunCount', traits => ['NameInRequest'], required => 1); | ||
| 6 | has AssessmentTargetArn => (is => 'ro', isa => 'Str', request_name => 'assessmentTargetArn', traits => ['NameInRequest'], required => 1); | ||
| 7 | has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest'], required => 1); | ||
| 8 | has DurationInSeconds => (is => 'ro', isa => 'Int', request_name => 'durationInSeconds', traits => ['NameInRequest'], required => 1); | ||
| 9 | has LastAssessmentRunArn => (is => 'ro', isa => 'Str', request_name => 'lastAssessmentRunArn', traits => ['NameInRequest']); | ||
| 10 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1); | ||
| 11 | has RulesPackageArns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'rulesPackageArns', traits => ['NameInRequest'], required => 1); | ||
| 12 | has UserAttributesForFindings => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::Attribute]', request_name => 'userAttributesForFindings', traits => ['NameInRequest'], required => 1); | ||
| 13 | |||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Inspector::AssessmentTemplate | ||
| 21 | |||
| 22 | =head1 USAGE | ||
| 23 | |||
| 24 | This class represents one of two things: | ||
| 25 | |||
| 26 | =head3 Arguments in a call to a service | ||
| 27 | |||
| 28 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 29 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 30 | |||
| 31 | As an example, if Att1 is expected to be a Paws::Inspector::AssessmentTemplate object: | ||
| 32 | |||
| 33 | $service_obj->Method(Att1 => { Arn => $value, ..., UserAttributesForFindings => $value }); | ||
| 34 | |||
| 35 | =head3 Results returned from an API call | ||
| 36 | |||
| 37 | Use accessors for each attribute. If Att1 is expected to be an Paws::Inspector::AssessmentTemplate object: | ||
| 38 | |||
| 39 | $result = $service_obj->Method(...); | ||
| 40 | $result->Att1->Arn | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | Contains information about an Amazon Inspector assessment template. | ||
| 45 | This data type is used as the response element in the | ||
| 46 | DescribeAssessmentTemplates action. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> Arn => Str | ||
| 52 | |||
| 53 | The ARN of the assessment template. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> AssessmentRunCount => Int | ||
| 57 | |||
| 58 | The number of existing assessment runs associated with this assessment | ||
| 59 | template. This value can be zero or a positive integer. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> AssessmentTargetArn => Str | ||
| 63 | |||
| 64 | The ARN of the assessment target that corresponds to this assessment | ||
| 65 | template. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> CreatedAt => Str | ||
| 69 | |||
| 70 | The time at which the assessment template is created. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> DurationInSeconds => Int | ||
| 74 | |||
| 75 | The duration in seconds specified for this assessment template. The | ||
| 76 | default value is 3600 seconds (one hour). The maximum value is 86400 | ||
| 77 | seconds (one day). | ||
| 78 | |||
| 79 | |||
| 80 | =head2 LastAssessmentRunArn => Str | ||
| 81 | |||
| 82 | The Amazon Resource Name (ARN) of the most recent assessment run | ||
| 83 | associated with this assessment template. This value exists only when | ||
| 84 | the value of assessmentRunCount is greaterpa than zero. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 B<REQUIRED> Name => Str | ||
| 88 | |||
| 89 | The name of the assessment template. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 B<REQUIRED> RulesPackageArns => ArrayRef[Str|Undef] | ||
| 93 | |||
| 94 | The rules packages that are specified for this assessment template. | ||
| 95 | |||
| 96 | |||
| 97 | =head2 B<REQUIRED> UserAttributesForFindings => ArrayRef[L<Paws::Inspector::Attribute>] | ||
| 98 | |||
| 99 | The user-defined attributes that are assigned to every generated | ||
| 100 | finding from the assessment run that uses this assessment template. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | =head1 SEE ALSO | ||
| 105 | |||
| 106 | This class forms part of L<Paws>, describing an object used in L<Paws::Inspector> | ||
| 107 | |||
| 108 | =head1 BUGS and CONTRIBUTIONS | ||
| 109 | |||
| 110 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 111 | |||
| 112 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 113 | |||
| 114 | =cut | ||
| 115 |