Package org.cdk8s.plus25
Class ContainerSecurityContext
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.ContainerSecurityContext
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.216Z") @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 classContainerSecurityContext.BuilderA fluent builder forContainerSecurityContext.
-
Constructor Summary
Constructors Modifier Constructor Description ContainerSecurityContext()ContainerSecurityContext(ContainerSecurityContextProps props)protectedContainerSecurityContext(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedContainerSecurityContext(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAllowPrivilegeEscalation()BooleangetEnsureNonRoot()NumbergetGroup()BooleangetPrivileged()BooleangetReadOnlyRootFilesystem()NumbergetUser()-
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()
-
-