Package org.cdk8s.plus23.k8s
Class SeccompProfile.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus23.k8s.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 forSeccompProfile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus23.k8s.SeccompProfile
SeccompProfile.Builder, SeccompProfile.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(SeccompProfile.Builder builder)
Constructor that initializes the object based on literal property values passed by theSeccompProfile.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
String
getLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used.IoK8SApiCoreV1SeccompProfileType
getType()
type indicates which kind of seccomp profile will be applied.int
hashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(SeccompProfile.Builder builder)
Constructor that initializes the object based on literal property values passed by theSeccompProfile.Builder
.
-
-
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 interfaceSeccompProfile
-
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 interfaceSeccompProfile
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-