A factory for creating resources to be used in the policy.

C# |
public class ResourceFactory

All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
![]() | 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.) |
![]() ![]() | NewS3BucketResource(String) |
Constructs a new bucket resource that represents the the specified bucket
but not any of the contained objects.
|
![]() ![]() | NewS3ObjectResource(String, String) |
Constructs a new object resource that represents the specified objects.
The keyPattern argument may contain the '*' wildcard to match multiple
objects. For example, an object resource created for bucket 'mybucket'
and key pattern 'foo*' will match any object stored in 'mybucket' with a
key that starts with 'foo'.
|
![]() ![]() | NewSQSQueueResource(String, String) |
Constructs a new SQS queue resource for an access control policy. A
policy statement using this resource will allow or deny actions on the
specified queue.
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |

Object | |
![]() | ResourceFactory |