Class EcsVolumeOptions
Options to configure an EcsVolume.
Implements
Inherited Members
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
Remarks
ExampleMetadata: fixture=_generated
Name
the name of this volume.
public string Name { get; set; }
Property Value
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