Resource class

A resource related to a finding.

Constructors

Resource({required String id, required String type, ResourceDetails? details, Partition? partition, String? region, String? resourceRole, Map<String, String>? tags})
Resource.fromJson(Map<String, dynamic> json)
factory

Properties

details ResourceDetails?
Additional details about the resource related to a finding.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The canonical identifier for the given resource type.
final
partition Partition?
The canonical AWS partition name that the Region is assigned to.
final
region String?
The canonical AWS external Region name where this resource is located.
final
resourceRole String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags Map<String, String>?
A list of AWS tags associated with a resource at the time the finding was processed.
final
type String
The type of the resource that details are provided for. If possible, set Type to one of the supported resource types. For example, if the resource is an EC2 instance, then set Type to AwsEc2Instance.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited