The standard way of specifying an AWS resource is with an Amazon Resource Name (ARN).
The resource is C in the statement "A has permission to do B to C where D applies."
| C# |
public class Resource
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Resource(String) |
Constructs a new AWS access control policy resource. Resources are
typically specified as Amazon Resource Names (ARNs).
You specify the resource using the following Amazon Resource Name (ARN) format: arn:aws:<vendor>:<region>:<namespace>:<relative-id>
For example, an Amazon SQS queue might be addressed with the following ARN: arn:aws:sqs:us-east-1:987654321000:MyQueue Some resources may not use every field in an ARN. For example, resources in Amazon S3 are global, so they omit the region field: arn:aws:s3:::bucket/* | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| Id |
Gets the resource ID, typically an Amazon Resource Name (ARN),
identifying this resource.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | |
| Resource | |