Package org.cdk8s.plus24.k8s
Interface KubeSelfSubjectRulesReviewProps
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KubeSelfSubjectRulesReviewProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-01T02:39:48.361Z") @Stability(Stable) public interface KubeSelfSubjectRulesReviewProps extends software.amazon.jsii.JsiiSerializable
SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace.The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KubeSelfSubjectRulesReviewProps.Builder
A builder forKubeSelfSubjectRulesReviewProps
static class
KubeSelfSubjectRulesReviewProps.Jsii$Proxy
An implementation forKubeSelfSubjectRulesReviewProps
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static KubeSelfSubjectRulesReviewProps.Builder
builder()
default ObjectMeta
getMetadata()
Standard list metadata.SelfSubjectRulesReviewSpec
getSpec()
Spec holds information about the request being evaluated.
-
-
-
Method Detail
-
getSpec
@Stability(Stable) @NotNull SelfSubjectRulesReviewSpec getSpec()
Spec holds information about the request being evaluated.
-
getMetadata
@Stability(Stable) @Nullable default ObjectMeta getMetadata()
Standard list metadata.More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
-
builder
@Stability(Stable) static KubeSelfSubjectRulesReviewProps.Builder builder()
-
-