Interface IHost
The details on a container instance bind mount host volume.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IHost
Syntax (vb)
Public Interface IHost
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 host = new Host {
SourcePath = "sourcePath"
};
Synopsis
Properties
SourcePath | Specifies the path on the host container instance that is presented to the container. |
Properties
SourcePath
Specifies the path on the host container instance that is presented to the container.
virtual string SourcePath { get; }
Property Value
System.String
Remarks
If the sourcePath value does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
This property is not supported for tasks that use the Fargate launch type.