Show / Hide Table of Contents

Interface IScratchSpace

The temporary disk space mounted to the container.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.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

The temporary disk space mounted to the container.

Properties

ContainerPath

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

string ContainerPath { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Name

The name of the scratch volume to mount.

string Name { get; }
Property Value

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

bool

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

The temporary disk space mounted to the container.

string SourcePath { get; }
Property Value

string

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"
            };
Back to top Generated by DocFX