com.amazonaws.auth.policy
Interface Action

All Known Implementing Classes:
S3Actions, SNSActions, SQSActions

public interface Action

An access control policy action identifies a specific action in a service that can be performed on a resource. For example, sending a message to a queue.

Actions allow you to limit what your access control policy statement affects. For example, you could create a policy statement that enables a certain group of users to send messages to your queue, but not allow them to perform any other actions on your queue.

The action is B in the statement "A has permission to do B to C where D applies."

Free form access control policy actions may include a wildcard (*) to match multiple actions.

This class is not intended to be directly implemented, instead developers should see the classes available in com.amazonaws.auth.policy.actions for more information on the available actions for each service.


Method Summary
 String getActionName()
          Returns the name of this action.
 

Method Detail

getActionName

String getActionName()
Returns the name of this action. For example, 'sqs:SendMessage' is the name corresponding to the SQS action that enables users to send a message to an SQS queue.

Returns:
The name of this action.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.