Class Action


  • public class Action
    extends Object
    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.

    • Constructor Detail

      • Action

        public Action​(String name)
    • Method Detail

      • getActionName

        public 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.