AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The details for a volume mount point that's used in a container definition.

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.MountPoint

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z

Syntax

C#
public class MountPoint

The MountPoint type exposes the following members

Constructors

NameDescription
Public Method MountPoint()

Properties

NameTypeDescription
Public Property ContainerPath System.String

Gets and sets the property ContainerPath.

The path on the container to mount the host volume at.

Public Property ReadOnly System.Boolean

Gets and sets the property ReadOnly.

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. The default value is false.

Public Property SourceVolume System.String

Gets and sets the property SourceVolume.

The name of the volume to mount. Must be a volume name referenced in the name parameter of task definition volume.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5