Class KubeClusterRoleBinding

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

    @Generated(value="jsii-pacmak/1.75.0 (build 63bb957)",
               date="2023-02-20T02:42:02.111Z")
    @Stability(Stable)
    public class KubeClusterRoleBinding
    extends org.cdk8s.ApiObject
    ClusterRoleBinding references a ClusterRole, but not contain it.

    It can reference a ClusterRole in the global namespace, and adds who information via Subject.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KubeClusterRoleBinding.Builder
      A fluent builder for KubeClusterRoleBinding.
      • 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.rbac.v1.ClusterRoleBinding".
    • Method Summary

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

        addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, 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.rbac.v1.ClusterRoleBinding".
    • Constructor Detail

      • KubeClusterRoleBinding

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

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

        @Stability(Stable)
        public KubeClusterRoleBinding​(@NotNull
                                      software.constructs.Construct scope,
                                      @NotNull
                                      String id,
                                      @NotNull
                                      KubeClusterRoleBindingProps props)
        Defines a "io.k8s.api.rbac.v1.ClusterRoleBinding" 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. This parameter is required.
    • Method Detail

      • manifest

        @Stability(Stable)
        @NotNull
        public static Object manifest​(@NotNull
                                      KubeClusterRoleBindingProps props)
        Renders a Kubernetes manifest for "io.k8s.api.rbac.v1.ClusterRoleBinding".

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

        Parameters:
        props - initialization props. This parameter is required.
      • toJson

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