Interface CfnJobDefinition.SecurityContextProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.SecurityContextProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.SecurityContextProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
SecurityContextProperty securityContextProperty = SecurityContextProperty.builder()
.allowPrivilegeEscalation(false)
.privileged(false)
.readOnlyRootFilesystem(false)
.runAsGroup(123)
.runAsNonRoot(false)
.runAsUser(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobDefinition.SecurityContextPropertystatic final classAn implementation forCfnJobDefinition.SecurityContextProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherBooleanorIResolvabledefault ObjectReturns union: eitherBooleanorIResolvabledefault ObjectReturns union: eitherBooleanorIResolvabledefault Numberdefault ObjectReturns union: eitherBooleanorIResolvabledefault NumberMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowPrivilegeEscalation
Returns union: eitherBooleanorIResolvable- See Also:
-
getPrivileged
Returns union: eitherBooleanorIResolvable- See Also:
-
getReadOnlyRootFilesystem
Returns union: eitherBooleanorIResolvable- See Also:
-
getRunAsGroup
- See Also:
-
getRunAsNonRoot
Returns union: eitherBooleanorIResolvable- See Also:
-
getRunAsUser
- See Also:
-
builder
-