Class User

  • All Implemented Interfaces:
    ISubject, software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.59.0 (build eb02c92)",
               date="2022-05-18T23:19:48.673Z")
    @Stability(Stable)
    public class User
    extends software.amazon.jsii.JsiiObject
    implements ISubject
    Represents a user.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  User.Builder
      A fluent builder for User.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        User​(UserProps props)  
      protected User​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected User​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • User

        protected User​(software.amazon.jsii.JsiiObjectRef objRef)
      • User

        protected User​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • User

        @Stability(Stable)
        public User​(@NotNull
                    UserProps props)
        Parameters:
        props - This parameter is required.
    • Method Detail

      • getKind

        @Stability(Stable)
        @NotNull
        public String getKind()
        Kind of object being referenced.

        Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.

        Specified by:
        getKind in interface ISubject
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
        Name of the object being referenced.
        Specified by:
        getName in interface ISubject
      • getApiGroup

        @Stability(Stable)
        @Nullable
        public String getApiGroup()
        APIGroup holds the API group of the referenced subject.

        Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

        Specified by:
        getApiGroup in interface ISubject