Class CfnJobDefinition.SecurityContextProperty
Inheritance
System.Object
CfnJobDefinition.SecurityContextProperty
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.AWS.Batch.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 {
Privileged = false,
ReadOnlyRootFilesystem = false,
RunAsGroup = 123,
RunAsNonRoot = false,
RunAsUser = 123
};
Synopsis
Constructors
SecurityContextProperty() |
Properties
Privileged |
|
ReadOnlyRootFilesystem |
|
RunAsGroup |
|
RunAsNonRoot |
|
RunAsUser |
|
Constructors
SecurityContextProperty()
public SecurityContextProperty()
Properties
Privileged
CfnJobDefinition.SecurityContextProperty.Privileged
.
public object Privileged { get; set; }
Property Value
System.Object
Remarks
ReadOnlyRootFilesystem
CfnJobDefinition.SecurityContextProperty.ReadOnlyRootFilesystem
.
public object ReadOnlyRootFilesystem { get; set; }
Property Value
System.Object
Remarks
RunAsGroup
CfnJobDefinition.SecurityContextProperty.RunAsGroup
.
public Nullable<double> RunAsGroup { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
RunAsNonRoot
CfnJobDefinition.SecurityContextProperty.RunAsNonRoot
.
public object RunAsNonRoot { get; set; }
Property Value
System.Object
Remarks
RunAsUser
CfnJobDefinition.SecurityContextProperty.RunAsUser
.
public Nullable<double> RunAsUser { get; set; }
Property Value
System.Nullable<System.Double>