Uses of Class
com.amazonaws.auth.policy.Principal
Packages that use Principal
Package
Description
Classes for creating custom AWS access control policies.
-
Uses of Principal in com.amazonaws.auth.policy
Fields in com.amazonaws.auth.policy declared as PrincipalModifier and TypeFieldDescriptionstatic final Principal
Principal.All
Principal instance that includes all the AWS accounts, AWS web services and web identity providers.static final Principal
Principal.AllServices
Principal instance that includes all AWS web services.static final Principal
Principal.AllUsers
Principal instance that includes all users, including anonymous users.static final Principal
Principal.AllWebProviders
Principal instance that includes all the web identity providers.Methods in com.amazonaws.auth.policy that return types with arguments of type PrincipalModifier and TypeMethodDescriptionStatement.getPrincipals()
Returns the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.Methods in com.amazonaws.auth.policy with parameters of type PrincipalModifier and TypeMethodDescriptionvoid
Statement.setPrincipals
(Principal... principals) Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.Statement.withPrincipals
(Principal... principals) Sets the principals associated with this policy statement, and returns this updated Statement object.Method parameters in com.amazonaws.auth.policy with type arguments of type PrincipalModifier and TypeMethodDescriptionvoid
Statement.setPrincipals
(Collection<Principal> principals) Sets the principals associated with this policy statement, indicating which AWS accounts are affected by this policy statement.