Class SeccompProfile.Jsii$Proxy

  • All Implemented Interfaces:
    SeccompProfile, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    SeccompProfile

    @Stability(Stable)
    @Internal
    public static final class SeccompProfile.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements SeccompProfile
    An implementation for SeccompProfile
    • 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

      • getType

        public final IoK8SApiCoreV1SeccompProfileType getType()
        Description copied from interface: SeccompProfile
        type indicates which kind of seccomp profile will be applied. Valid options are:.

        Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.

        Possible enum values:

        • "Localhost" indicates a profile defined in a file on the node should be used. The file's location relative to /seccomp.
        • "RuntimeDefault" represents the default container runtime seccomp profile.
        • "Unconfined" indicates no seccomp profile is applied (A.K.A. unconfined).
        Specified by:
        getType in interface SeccompProfile
      • getLocalhostProfile

        public final String getLocalhostProfile()
        Description copied from interface: SeccompProfile
        localhostProfile indicates a profile defined in a file on the node should be used.

        The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".

        Specified by:
        getLocalhostProfile in interface SeccompProfile
      • $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