AssessmentTemplate class
Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the DescribeAssessmentTemplates action.
Constructors
-
AssessmentTemplate({required String arn, required int assessmentRunCount, required String assessmentTargetArn, required DateTime createdAt, required int durationInSeconds, required String name, required List<
String> rulesPackageArns, required List<Attribute> userAttributesForFindings, String? lastAssessmentRunArn}) -
AssessmentTemplate.fromJson(Map<
String, dynamic> json) -
factory
Properties
- arn → String
-
The ARN of the assessment template.
final
- assessmentRunCount → int
-
The number of existing assessment runs associated with this assessment
template. This value can be zero or a positive integer.
final
- assessmentTargetArn → String
-
The ARN of the assessment target that corresponds to this assessment
template.
final
- createdAt → DateTime
-
The time at which the assessment template is created.
final
- durationInSeconds → int
-
The duration in seconds specified for this assessment template. The default
value is 3600 seconds (one hour). The maximum value is 86400 seconds (one
day).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastAssessmentRunArn → String?
-
The Amazon Resource Name (ARN) of the most recent assessment run associated
with this assessment template. This value exists only when the value of
assessmentRunCount is greaterpa than zero.
final
- name → String
-
The name of the assessment template.
final
-
rulesPackageArns
→ List<
String> -
The rules packages that are specified for this assessment template.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userAttributesForFindings
→ List<
Attribute> -
The user-defined attributes that are assigned to every generated finding
from the assessment run that uses this assessment template.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited