Class CfnJobDefinition.SecurityContextProperty
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnJobDefinition.SecurityContextProperty : CfnJobDefinition.ISecurityContextProperty
Syntax (vb)
Public Class CfnJobDefinition.SecurityContextProperty 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()
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
};
Properties
AllowPrivilegeEscalation
public object? AllowPrivilegeEscalation { get; set; }
Property Value
Remarks
Privileged
public object? Privileged { get; set; }
Property Value
Remarks
ReadOnlyRootFilesystem
public object? ReadOnlyRootFilesystem { get; set; }
Property Value
Remarks
RunAsGroup
public double? RunAsGroup { get; set; }
Property Value
Remarks
RunAsNonRoot
public object? RunAsNonRoot { get; set; }
Property Value
Remarks
RunAsUser
public double? RunAsUser { get; set; }