Package org.cdk8s.plus20
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 forISubject.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.cdk8s.plus20.ISubject
ISubject.Jsii$Default, ISubject.Jsii$Proxy
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringgetApiGroup()APIGroup holds the API group of the referenced subject.default StringgetKind()Kind of object being referenced.default StringgetName()Name of the object being referenced.default StringgetNamespace()Namespace of the referenced object.
-
-
-
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.
-
getName
@Stability(Stable) @NotNull default String getName()
Name of the object being referenced.
-
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:
getApiGroupin interfaceISubject
-
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:
getNamespacein interfaceISubject
-
-