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()
         .privileged(false)
         .readOnlyRootFilesystem(false)
         .runAsGroup(123)
         .runAsNonRoot(false)
         .runAsUser(123)
         .build();
 
  • Method Details

    • getPrivileged

      @Stability(Stable) @Nullable default Object getPrivileged()
      CfnJobDefinition.SecurityContextProperty.Privileged.
    • getReadOnlyRootFilesystem

      @Stability(Stable) @Nullable default Object getReadOnlyRootFilesystem()
      CfnJobDefinition.SecurityContextProperty.ReadOnlyRootFilesystem.
    • getRunAsGroup

      @Stability(Stable) @Nullable default Number getRunAsGroup()
      CfnJobDefinition.SecurityContextProperty.RunAsGroup.
    • getRunAsNonRoot

      @Stability(Stable) @Nullable default Object getRunAsNonRoot()
      CfnJobDefinition.SecurityContextProperty.RunAsNonRoot.
    • getRunAsUser

      @Stability(Stable) @Nullable default Number getRunAsUser()
      CfnJobDefinition.SecurityContextProperty.RunAsUser.
    • builder

      @Stability(Stable) static CfnJobDefinition.SecurityContextProperty.Builder builder()
      Returns:
      a CfnJobDefinition.SecurityContextProperty.Builder of CfnJobDefinition.SecurityContextProperty