Show / Hide Table of Contents

Interface CfnJobDefinition.ISecurityContextProperty

Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnJobDefinition.ISecurityContextProperty
Syntax (vb)
Public Interface 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

Properties

AllowPrivilegeEscalation
Privileged
ReadOnlyRootFilesystem
RunAsGroup
RunAsNonRoot
RunAsUser

Properties

AllowPrivilegeEscalation

object? AllowPrivilegeEscalation { get; }
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

object? Privileged { get; }
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

object? ReadOnlyRootFilesystem { get; }
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

double? RunAsGroup { get; }
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

object? RunAsNonRoot { get; }
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

double? RunAsUser { get; }
Property Value

double?

Remarks

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

Back to top Generated by DocFX