Show / Hide Table of Contents

Class CfnJobDefinitionPropsMixin.MountPointProperty

Details for a Docker volume mount point that's used in a job's container properties.

Inheritance
object
CfnJobDefinitionPropsMixin.MountPointProperty
Implements
CfnJobDefinitionPropsMixin.IMountPointProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnJobDefinitionPropsMixin.MountPointProperty : CfnJobDefinitionPropsMixin.IMountPointProperty
Syntax (vb)
Public Class CfnJobDefinitionPropsMixin.MountPointProperty Implements CfnJobDefinitionPropsMixin.IMountPointProperty
Remarks

This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.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.Mixins.Preview.AWS.Batch.Mixins;

             var mountPointProperty = new MountPointProperty {
                 ContainerPath = "containerPath",
                 ReadOnly = false,
                 SourceVolume = "sourceVolume"
             };

Synopsis

Constructors

MountPointProperty()

Details for a Docker volume mount point that's used in a job's container properties.

Properties

ContainerPath

The path on the container where the host volume is mounted.

ReadOnly

If this value is true , the container has read-only access to the volume.

SourceVolume

The name of the volume to mount.

Constructors

MountPointProperty()

Details for a Docker volume mount point that's used in a job's container properties.

public MountPointProperty()
Remarks

This parameter maps to Volumes in the Create a container section of the Docker Remote API and the --volume option to docker run.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.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.Mixins.Preview.AWS.Batch.Mixins;

             var mountPointProperty = new MountPointProperty {
                 ContainerPath = "containerPath",
                 ReadOnly = false,
                 SourceVolume = "sourceVolume"
             };

Properties

ContainerPath

The path on the container where the host volume is mounted.

public string? ContainerPath { get; set; }
Property Value

string

Remarks

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

ReadOnly

If this value is true , the container has read-only access to the volume.

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

object

Remarks

Otherwise, the container can write to the volume. The default value is false .

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

Type union: either bool or IResolvable

SourceVolume

The name of the volume to mount.

public string? SourceVolume { get; set; }
Property Value

string

Remarks

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

Implements

CfnJobDefinitionPropsMixin.IMountPointProperty
Back to top Generated by DocFX