Show / Hide Table of Contents

Interface IVolumeFrom

The details on a data volume from another container in the same task definition.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVolumeFrom
Syntax (vb)
Public Interface IVolumeFrom
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 volumeFrom = new VolumeFrom {
                ReadOnly = false,
                SourceContainer = "sourceContainer"
            };

Synopsis

Properties

ReadOnly

Specifies whether the container has read-only access to the volume.

SourceContainer

The name of another container within the same task definition from which to mount volumes.

Properties

ReadOnly

Specifies whether the container has read-only access to the volume.

bool ReadOnly { get; }
Property Value

bool

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.

SourceContainer

The name of another container within the same task definition from which to mount volumes.

string SourceContainer { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX