Class KubeCsiDriver

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

    @Generated(value="jsii-pacmak/1.69.0 (build f656c31)",
               date="2022-10-15T03:08:35.386Z")
    @Stability(Stable)
    public class KubeCsiDriver
    extends org.cdk8s.ApiObject
    CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.

    Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KubeCsiDriver.Builder
      A fluent builder for KubeCsiDriver.
      • 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.storage.v1.CSIDriver".
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KubeCsiDriver​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected KubeCsiDriver​(software.amazon.jsii.JsiiObjectRef objRef)  
        KubeCsiDriver​(software.constructs.Construct scope, String id, KubeCsiDriverProps props)
      Defines a "io.k8s.api.storage.v1.CSIDriver" API object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Object manifest​(KubeCsiDriverProps props)
      Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriver".
      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.storage.v1.CSIDriver".
    • Constructor Detail

      • KubeCsiDriver

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

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

        @Stability(Stable)
        public KubeCsiDriver​(@NotNull
                             software.constructs.Construct scope,
                             @NotNull
                             String id,
                             @NotNull
                             KubeCsiDriverProps props)
        Defines a "io.k8s.api.storage.v1.CSIDriver" 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
                                      KubeCsiDriverProps props)
        Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriver".

        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