Show / Hide Table of Contents

Class CfnJobDefinition.SecurityContextProperty

Inheritance
object
CfnJobDefinition.SecurityContextProperty
Implements
CfnJobDefinition.ISecurityContextProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation

Type union: either bool or IResolvable

Privileged

public object? Privileged { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged

Type union: either bool or IResolvable

ReadOnlyRootFilesystem

public object? ReadOnlyRootFilesystem { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem

Type union: either bool or IResolvable

RunAsGroup

public double? RunAsGroup { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup

RunAsNonRoot

public object? RunAsNonRoot { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot

Type union: either bool or IResolvable

RunAsUser

public double? RunAsUser { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser

Implements

CfnJobDefinition.ISecurityContextProperty
Back to top Generated by DocFX