Class WindowsSecurityContextOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.WindowsSecurityContextOptions.Jsii$Proxy
-
- All Implemented Interfaces:
WindowsSecurityContextOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- WindowsSecurityContextOptions
@Stability(Stable) @Internal public static final class WindowsSecurityContextOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements WindowsSecurityContextOptions
An implementation forWindowsSecurityContextOptions
-
-
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.plus25.k8s.WindowsSecurityContextOptions
WindowsSecurityContextOptions.Builder, WindowsSecurityContextOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(WindowsSecurityContextOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theWindowsSecurityContextOptions.Builder.protectedJsii$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()booleanequals(Object o)StringgetGmsaCredentialSpec()GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.StringgetGmsaCredentialSpecName()GMSACredentialSpecName is the name of the GMSA credential spec to use.BooleangetHostProcess()HostProcess determines if a container should be run as a 'Host Process' container.StringgetRunAsUserName()The UserName in Windows to run the entrypoint of the container process.inthashCode()
-
-
-
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(WindowsSecurityContextOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theWindowsSecurityContextOptions.Builder.
-
-
Method Detail
-
getGmsaCredentialSpec
public final String getGmsaCredentialSpec()
Description copied from interface:WindowsSecurityContextOptionsGMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.- Specified by:
getGmsaCredentialSpecin interfaceWindowsSecurityContextOptions
-
getGmsaCredentialSpecName
public final String getGmsaCredentialSpecName()
Description copied from interface:WindowsSecurityContextOptionsGMSACredentialSpecName is the name of the GMSA credential spec to use.- Specified by:
getGmsaCredentialSpecNamein interfaceWindowsSecurityContextOptions
-
getHostProcess
public final Boolean getHostProcess()
Description copied from interface:WindowsSecurityContextOptionsHostProcess determines if a container should be run as a 'Host Process' container.This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true.
- Specified by:
getHostProcessin interfaceWindowsSecurityContextOptions
-
getRunAsUserName
public final String getRunAsUserName()
Description copied from interface:WindowsSecurityContextOptionsThe UserName in Windows to run the entrypoint of the container process.Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
Default: the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
- Specified by:
getRunAsUserNamein interfaceWindowsSecurityContextOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-