Class PodSecurityContextProps.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getEnsureNonRoot

        public final Boolean getEnsureNonRoot()
        Description copied from interface: PodSecurityContextProps
        Indicates that the container must run as a non-root user.

        If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does.

        Default: true

        Specified by:
        getEnsureNonRoot in interface PodSecurityContextProps
      • getFsGroupChangePolicy

        public final FsGroupChangePolicy getFsGroupChangePolicy()
        Description copied from interface: PodSecurityContextProps
        Defines behavior of changing ownership and permission of the volume before being exposed inside Pod.

        This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir.

        Default: FsGroupChangePolicy.ALWAYS

        Specified by:
        getFsGroupChangePolicy in interface PodSecurityContextProps
      • getSysctls

        public final List<Sysctl> getSysctls()
        Description copied from interface: PodSecurityContextProps
        Sysctls hold a list of namespaced sysctls used for the pod.

        Pods with unsupported sysctls (by the container runtime) might fail to launch.

        Default: - No sysctls

        Specified by:
        getSysctls in interface PodSecurityContextProps
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object