Class Group

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

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

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

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

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

      • Group

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

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

        @Stability(Stable)
        public Group​(@NotNull
                     GroupProps 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