Class StarPrincipal

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

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-01T19:06:33.462Z") @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