Show / Hide Table of Contents

Class CfnJobDefinition.SecurityContextProperty

Inheritance
System.Object
CfnJobDefinition.SecurityContextProperty
Implements
CfnJobDefinition.ISecurityContextProperty
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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainersecuritycontext.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 {
    Privileged = false,
    ReadOnlyRootFilesystem = false,
    RunAsGroup = 123,
    RunAsNonRoot = false,
    RunAsUser = 123
};

Synopsis

Constructors

SecurityContextProperty()

Properties

Privileged

CfnJobDefinition.SecurityContextProperty.Privileged.

ReadOnlyRootFilesystem

CfnJobDefinition.SecurityContextProperty.ReadOnlyRootFilesystem.

RunAsGroup

CfnJobDefinition.SecurityContextProperty.RunAsGroup.

RunAsNonRoot

CfnJobDefinition.SecurityContextProperty.RunAsNonRoot.

RunAsUser

CfnJobDefinition.SecurityContextProperty.RunAsUser.

Constructors

SecurityContextProperty()

public SecurityContextProperty()

Properties

Privileged

CfnJobDefinition.SecurityContextProperty.Privileged.

public object Privileged { get; set; }
Property Value

System.Object

Remarks

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

ReadOnlyRootFilesystem

CfnJobDefinition.SecurityContextProperty.ReadOnlyRootFilesystem.

public object ReadOnlyRootFilesystem { get; set; }
Property Value

System.Object

Remarks

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

RunAsGroup

CfnJobDefinition.SecurityContextProperty.RunAsGroup.

public Nullable<double> RunAsGroup { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

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

RunAsNonRoot

CfnJobDefinition.SecurityContextProperty.RunAsNonRoot.

public object RunAsNonRoot { get; set; }
Property Value

System.Object

Remarks

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

RunAsUser

CfnJobDefinition.SecurityContextProperty.RunAsUser.

public Nullable<double> RunAsUser { get; set; }
Property Value

System.Nullable<System.Double>

Remarks

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

Implements

CfnJobDefinition.ISecurityContextProperty
Back to top Generated by DocFX