Class StarPrincipal

All Implemented Interfaces:
IAssumeRolePrincipal, IComparablePrincipal, IGrantable, IPrincipal,

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:39.160Z") @Stability(Stable) public class StarPrincipal extends PrincipalBase
A principal that uses a literal '*' in the IAM JSON language.

Some services behave differently when you specify Principal: "*" or Principal: { AWS: "*" } in their resource policy.

StarPrincipal renders to Principal: *. Most of the time, you should use AnyPrincipal instead.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 StarPrincipal starPrincipal = new StarPrincipal();
  • Constructor Details

    • StarPrincipal

      protected StarPrincipal( objRef)
    • StarPrincipal

      protected StarPrincipal( initializationMode)
    • StarPrincipal

      @Stability(Stable) public StarPrincipal()
  • Method Details