Enum CloudWatchActions

java.lang.Object
java.lang.Enum<CloudWatchActions>
com.amazonaws.auth.policy.actions.CloudWatchActions
All Implemented Interfaces:
Action, Serializable, Comparable<CloudWatchActions>, java.lang.constant.Constable

public enum CloudWatchActions extends Enum<CloudWatchActions> implements Action
The available AWS access control policy actions for CloudWatch.
  • Enum Constant Details

    • AllCloudWatchActions

      public static final CloudWatchActions AllCloudWatchActions
      Represents any action executed on CloudWatch.
    • DeleteAlarms

      public static final CloudWatchActions DeleteAlarms
      Action for the DeleteAlarms operation.
    • DescribeAlarmHistory

      public static final CloudWatchActions DescribeAlarmHistory
      Action for the DescribeAlarmHistory operation.
    • DescribeAlarms

      public static final CloudWatchActions DescribeAlarms
      Action for the DescribeAlarms operation.
    • DescribeAlarmsForMetric

      public static final CloudWatchActions DescribeAlarmsForMetric
      Action for the DescribeAlarmsForMetric operation.
    • DisableAlarmActions

      public static final CloudWatchActions DisableAlarmActions
      Action for the DisableAlarmActions operation.
    • EnableAlarmActions

      public static final CloudWatchActions EnableAlarmActions
      Action for the EnableAlarmActions operation.
    • GetMetricStatistics

      public static final CloudWatchActions GetMetricStatistics
      Action for the GetMetricStatistics operation.
    • ListMetrics

      public static final CloudWatchActions ListMetrics
      Action for the ListMetrics operation.
    • PutMetricAlarm

      public static final CloudWatchActions PutMetricAlarm
      Action for the PutMetricAlarm operation.
    • PutMetricData

      public static final CloudWatchActions PutMetricData
      Action for the PutMetricData operation.
    • SetAlarmState

      public static final CloudWatchActions SetAlarmState
      Action for the SetAlarmState operation.
  • Method Details

    • values

      public static CloudWatchActions[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CloudWatchActions valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getActionName

      public String getActionName()
      Description copied from interface: Action
      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.
      Specified by:
      getActionName in interface Action
      Returns:
      The name of this action.