Interface IScratchSpace
The temporary disk space mounted to the container.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IScratchSpace
Syntax (vb)
Public Interface 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
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 |
Properties
ContainerPath
The path on the container to mount the scratch volume at.
string ContainerPath { get; }
Property Value
System.String
Name
The name of the scratch volume to mount.
string Name { get; }
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.
bool ReadOnly { get; }
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
string SourcePath { get; }
Property Value
System.String