Show / Hide Table of Contents

Class EcsVolumeOptions

Options to configure an EcsVolume.

Inheritance
object
EcsVolumeOptions
Implements
IEcsVolumeOptions
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 EcsVolumeOptions : IEcsVolumeOptions
Syntax (vb)
Public Class EcsVolumeOptions Implements IEcsVolumeOptions
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 ecsVolumeOptions = new EcsVolumeOptions {
                ContainerPath = "containerPath",
                Name = "name",

                // the properties below are optional
                Readonly = false
            };

Synopsis

Constructors

EcsVolumeOptions()

Options to configure an EcsVolume.

Properties

ContainerPath

the path on the container where this volume is mounted.

Name

the name of this volume.

Readonly

if set, the container will have readonly access to the volume.

Constructors

EcsVolumeOptions()

Options to configure an EcsVolume.

public EcsVolumeOptions()
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 ecsVolumeOptions = new EcsVolumeOptions {
                ContainerPath = "containerPath",
                Name = "name",

                // the properties below are optional
                Readonly = false
            };

Properties

ContainerPath

the path on the container where this volume is mounted.

public string ContainerPath { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Name

the name of this volume.

public string Name { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Readonly

if set, the container will have readonly access to the volume.

public bool? Readonly { get; set; }
Property Value

bool?

Remarks

Default: false

Implements

IEcsVolumeOptions
Back to top Generated by DocFX