Class KubeSelfSubjectReviewV1Alpha1

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-03T12:13:25.791Z")
    @Stability(Stable)
    public class KubeSelfSubjectReviewV1Alpha1
    extends org.cdk8s.ApiObject
    SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.

    When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

    • Nested Class Summary

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

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.cdk8s.GroupVersionKind GVK
      Returns the apiVersion and kind for "io.k8s.api.authentication.v1alpha1.SelfSubjectReview".
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Object manifest()
      Renders a Kubernetes manifest for "io.k8s.api.authentication.v1alpha1.SelfSubjectReview".
      static Object manifest​(KubeSelfSubjectReviewV1Alpha1Props props)
      Renders a Kubernetes manifest for "io.k8s.api.authentication.v1alpha1.SelfSubjectReview".
      Object toJson()
      Renders the object to Kubernetes JSON.
      • Methods inherited from class org.cdk8s.ApiObject

        addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
      • Methods inherited from class software.constructs.Construct

        getNode, isConstruct, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Field Detail

      • GVK

        @Stability(Stable)
        public static final org.cdk8s.GroupVersionKind GVK
        Returns the apiVersion and kind for "io.k8s.api.authentication.v1alpha1.SelfSubjectReview".
    • Constructor Detail

      • KubeSelfSubjectReviewV1Alpha1

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

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

        @Stability(Stable)
        public KubeSelfSubjectReviewV1Alpha1​(@NotNull
                                             software.constructs.Construct scope,
                                             @NotNull
                                             String id,
                                             @Nullable
                                             KubeSelfSubjectReviewV1Alpha1Props props)
        Defines a "io.k8s.api.authentication.v1alpha1.SelfSubjectReview" API object.

        Parameters:
        scope - the scope in which to define this object. This parameter is required.
        id - a scope-local name for the object. This parameter is required.
        props - initialization props.
      • KubeSelfSubjectReviewV1Alpha1

        @Stability(Stable)
        public KubeSelfSubjectReviewV1Alpha1​(@NotNull
                                             software.constructs.Construct scope,
                                             @NotNull
                                             String id)
        Defines a "io.k8s.api.authentication.v1alpha1.SelfSubjectReview" API object.

        Parameters:
        scope - the scope in which to define this object. This parameter is required.
        id - a scope-local name for the object. This parameter is required.
    • Method Detail

      • manifest

        @Stability(Stable)
        @NotNull
        public static Object manifest​(@Nullable
                                      KubeSelfSubjectReviewV1Alpha1Props props)
        Renders a Kubernetes manifest for "io.k8s.api.authentication.v1alpha1.SelfSubjectReview".

        This can be used to inline resource manifests inside other objects (e.g. as templates).

        Parameters:
        props - initialization props.
      • manifest

        @Stability(Stable)
        @NotNull
        public static Object manifest()
        Renders a Kubernetes manifest for "io.k8s.api.authentication.v1alpha1.SelfSubjectReview".

        This can be used to inline resource manifests inside other objects (e.g. as templates).

      • toJson

        @Stability(Stable)
        @NotNull
        public Object toJson()
        Renders the object to Kubernetes JSON.
        Overrides:
        toJson in class org.cdk8s.ApiObject