AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class Resource : Object
The Resource type exposes the following members
Name | Description | |
---|---|---|
Resource() |
Name | Type | Description | |
---|---|---|---|
ResourceName | System.String |
Gets and sets the property ResourceName.
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. |
|
ResourceType | System.String |
Gets and sets the property ResourceType.
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: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. For a list of resource types supported for event lookup, see Resource Types Supported for Event Lookup. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8