The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

# Generated by default/object.tt
use Moose;
has DataClassification => (is => 'ro', isa => 'Paws::SecurityHub::DataClassificationDetails');
has Details => (is => 'ro', isa => 'Paws::SecurityHub::ResourceDetails');
has Id => (is => 'ro', isa => 'Str', required => 1);
has Partition => (is => 'ro', isa => 'Str');
has Region => (is => 'ro', isa => 'Str');
has ResourceRole => (is => 'ro', isa => 'Str');
has Tags => (is => 'ro', isa => 'Paws::SecurityHub::FieldMap');
has Type => (is => 'ro', isa => 'Str', required => 1);
1;
### main pod documentation begin ###
=head1 NAME
Paws::SecurityHub::Resource
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::SecurityHub::Resource object:
$service_obj->Method(Att1 => { DataClassification => $value, ..., Type => $value });
=head3 Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::SecurityHub::Resource object:
$result = $service_obj->Method(...);
$result->Att1->DataClassification
=head1 DESCRIPTION
A resource related to a finding.
=head1 ATTRIBUTES
=head2 DataClassification => L<Paws::SecurityHub::DataClassificationDetails>
Contains information about sensitive data that was detected on the
resource.
=head2 Details => L<Paws::SecurityHub::ResourceDetails>
Additional details about the resource related to a finding.
=head2 B<REQUIRED> Id => Str
The canonical identifier for the given resource type.
=head2 Partition => Str
The canonical AWS partition name that the Region is assigned to.
=head2 Region => Str
The canonical AWS external Region name where this resource is located.
=head2 ResourceRole => Str
Identifies the role of the resource in the finding. A resource is
either the actor or target of the finding activity,
=head2 Tags => L<Paws::SecurityHub::FieldMap>
A list of AWS tags associated with a resource at the time the finding
was processed.
=head2 B<REQUIRED> Type => Str
The type of the resource that details are provided for. If possible,
set C<Type> to one of the supported resource types. For example, if the
resource is an EC2 instance, then set C<Type> to C<AwsEc2Instance>.
If the resource does not match any of the provided types, then set
C<Type> to C<Other>.
=head1 SEE ALSO
This class forms part of L<Paws>, describing an object used in L<Paws::SecurityHub>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut