Class Host
The details on a container instance bind mount host volume.
Inheritance
System.Object
Host
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Host : Object, IHost
Syntax (vb)
Public Class Host
Inherits Object
Implements 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
Constructors
Host() |
Properties
SourcePath | Specifies the path on the host container instance that is presented to the container. |
Constructors
Host()
public Host()
Properties
SourcePath
Specifies the path on the host container instance that is presented to the container.
public string SourcePath { get; set; }
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.