Class ScratchSpace
The temporary disk space mounted to the container.
Inheritance
System.Object
ScratchSpace
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ScratchSpace : Object, IScratchSpace
Syntax (vb)
Public Class ScratchSpace
Inherits Object
Implements IScratchSpace
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 scratchSpace = new ScratchSpace {
ContainerPath = "containerPath",
Name = "name",
ReadOnly = false,
SourcePath = "sourcePath"
};
Synopsis
Constructors
ScratchSpace() |
Properties
ContainerPath | The path on the container to mount the scratch volume at. |
Name | The name of the scratch volume to mount. |
ReadOnly | Specifies whether to give the container read-only access to the scratch volume. |
SourcePath |
Constructors
ScratchSpace()
public ScratchSpace()
Properties
ContainerPath
The path on the container to mount the scratch volume at.
public string ContainerPath { get; set; }
Property Value
System.String
Name
The name of the scratch volume to mount.
public string Name { get; set; }
Property Value
System.String
Remarks
Must be a volume name referenced in the name parameter of task definition volume.
ReadOnly
Specifies whether to give the container read-only access to the scratch volume.
public bool ReadOnly { get; set; }
Property Value
System.Boolean
Remarks
If this value is true, the container has read-only access to the scratch volume. If this value is false, then the container can write to the scratch volume.
SourcePath
public string SourcePath { get; set; }
Property Value
System.String