Paws::CloudTrail::Resource
This class represents one of two things:
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::CloudTrail::Resource object:
$service_obj->Method(Att1 => { ResourceName => $value, ..., ResourceType => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CloudTrail::Resource object:
$result = $service_obj->Method(...); $result->Att1->ResourceName
Specifies the type and name of a resource referenced by an event.
The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.
The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: B<Instance> for EC2, B<Trail> for CloudTrail, B<DBInstance> for RDS, and B<AccessKey> for IAM. For a list of resource types supported for event lookup, see Resource Types Supported for Event Lookup.
This class forms part of Paws, describing an object used in Paws::CloudTrail
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.