Package org.cdk8s.plus24
Class ContainerSecurityContext
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.ContainerSecurityContext
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-01T02:39:47.683Z") @Stability(Stable) public class ContainerSecurityContext extends software.amazon.jsii.JsiiObject
Container security attributes and settings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContainerSecurityContext.Builder
A fluent builder forContainerSecurityContext
.
-
Constructor Summary
Constructors Modifier Constructor Description ContainerSecurityContext()
ContainerSecurityContext(ContainerSecurityContextProps props)
protected
ContainerSecurityContext(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
ContainerSecurityContext(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAllowPrivilegeEscalation()
Boolean
getEnsureNonRoot()
Number
getGroup()
Boolean
getPrivileged()
Boolean
getReadOnlyRootFilesystem()
Number
getUser()
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
ContainerSecurityContext
protected ContainerSecurityContext(software.amazon.jsii.JsiiObjectRef objRef)
-
ContainerSecurityContext
protected ContainerSecurityContext(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
ContainerSecurityContext
@Stability(Stable) public ContainerSecurityContext(@Nullable ContainerSecurityContextProps props)
- Parameters:
props
-
-
ContainerSecurityContext
@Stability(Stable) public ContainerSecurityContext()
-
-
Method Detail
-
getEnsureNonRoot
@Stability(Stable) @NotNull public Boolean getEnsureNonRoot()
-
getPrivileged
@Stability(Stable) @NotNull public Boolean getPrivileged()
-
getReadOnlyRootFilesystem
@Stability(Stable) @NotNull public Boolean getReadOnlyRootFilesystem()
-
getAllowPrivilegeEscalation
@Stability(Stable) @Nullable public Boolean getAllowPrivilegeEscalation()
-
getGroup
@Stability(Stable) @Nullable public Number getGroup()
-
getUser
@Stability(Stable) @Nullable public Number getUser()
-
-