Interface ISubject.Jsii$Default

  • All Superinterfaces:
    ISubject, software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ISubject.Jsii$Proxy
    Enclosing interface:
    ISubject

    @Internal
    public static interface ISubject.Jsii$Default
    extends ISubject
    Internal default implementation for ISubject.
    • Method Detail

      • getKind

        @Stability(Stable)
        @NotNull
        default 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
        default String getName()
        Name of the object being referenced.
        Specified by:
        getName in interface ISubject
      • getApiGroup

        @Stability(Stable)
        @Nullable
        default 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
      • getNamespace

        @Stability(Stable)
        @Nullable
        default String getNamespace()
        Namespace of the referenced object.

        If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.

        Specified by:
        getNamespace in interface ISubject