![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudTrail::Resource USAGEThis class represents one of two things: 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::CloudTrail::Resource object: $service_obj->Method(Att1 => { ResourceName => $value, ..., ResourceType => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::CloudTrail::Resource object: $result = $service_obj->Method(...); $result->Att1->ResourceName DESCRIPTIONSpecifies the type and name of a resource referenced by an event. ATTRIBUTESResourceName => StrThe 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. ResourceType => StrThe 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: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html#filtering-cloudtrail-events). SEE ALSOThis class forms part of Paws, describing an object used in Paws::CloudTrail BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|