Class BaseMountPoint
The base details of where a volume will be mounted within a container.
Inheritance
System.Object
BaseMountPoint
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BaseMountPoint : Object, IBaseMountPoint
Syntax (vb)
Public Class BaseMountPoint
Inherits Object
Implements IBaseMountPoint
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.ECS;
var baseMountPoint = new BaseMountPoint {
ContainerPath = "containerPath",
ReadOnly = false
};
Synopsis
Constructors
BaseMountPoint() |
Properties
ContainerPath | The path on the container to mount the host volume at. |
ReadOnly | Specifies whether to give the container read-only access to the volume. |
Constructors
BaseMountPoint()
public BaseMountPoint()
Properties
ContainerPath
The path on the container to mount the host volume at.
public string ContainerPath { get; set; }
Property Value
System.String
ReadOnly
Specifies whether to give the container read-only access to the volume.
public bool ReadOnly { get; set; }
Property Value
System.Boolean
Remarks
If this value is true, the container has read-only access to the volume. If this value is false, then the container can write to the volume.