Class CfnJobDefinition.SecurityContextProperty
Inheritance
System.Object
CfnJobDefinition.SecurityContextProperty
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SecurityContextProperty : Object, CfnJobDefinition.ISecurityContextProperty
Syntax (vb)
Public Class SecurityContextProperty
Inherits Object
Implements CfnJobDefinition.ISecurityContextProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var securityContextProperty = new SecurityContextProperty {
AllowPrivilegeEscalation = false,
Privileged = false,
ReadOnlyRootFilesystem = false,
RunAsGroup = 123,
RunAsNonRoot = false,
RunAsUser = 123
};
Synopsis
Constructors
SecurityContextProperty() |
Properties
AllowPrivilegeEscalation | |
Privileged | |
ReadOnlyRootFilesystem | |
RunAsGroup | |
RunAsNonRoot | |
RunAsUser |
Constructors
SecurityContextProperty()
public SecurityContextProperty()
Properties
AllowPrivilegeEscalation
public object AllowPrivilegeEscalation { get; set; }
Property Value
System.Object
Remarks
Privileged
public object Privileged { get; set; }
Property Value
System.Object
Remarks
ReadOnlyRootFilesystem
public object ReadOnlyRootFilesystem { get; set; }
Property Value
System.Object
Remarks
RunAsGroup
public Nullable<double> RunAsGroup { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RunAsNonRoot
public object RunAsNonRoot { get; set; }
Property Value
System.Object
Remarks
RunAsUser
public Nullable<double> RunAsUser { get; set; }
Property Value
System.Nullable<System.Double>