Package com.amazonaws.auth.policy
Enum STSActions
- java.lang.Object
-
- java.lang.Enum<STSActions>
-
- com.amazonaws.auth.policy.STSActions
-
- All Implemented Interfaces:
Action,Serializable,Comparable<STSActions>
@Deprecated public enum STSActions extends Enum<STSActions> implements Action
Deprecated.in favor ofSecurityTokenServiceActionsThe available AWS access control policy actions for Amazon Security Token Service.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AssumeRoleDeprecated.Action for assuming role to do cross-account access or federation.AssumeRoleWithWebIdentityDeprecated.Action for assuming role with web federation to get a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetActionName()Deprecated.Returns the name of this action.static STSActionsvalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static STSActions[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AssumeRole
public static final STSActions AssumeRole
Deprecated.Action for assuming role to do cross-account access or federation.
-
AssumeRoleWithWebIdentity
public static final STSActions AssumeRoleWithWebIdentity
Deprecated.Action for assuming role with web federation to get a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider.
-
-
Method Detail
-
values
public static STSActions[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (STSActions c : STSActions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static STSActions valueOf(String name)
Deprecated.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 nameNullPointerException- if the argument is null
-
getActionName
public String getActionName()
Deprecated.Description copied from interface:ActionReturns 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:
getActionNamein interfaceAction- Returns:
- The name of this action.
-
-