/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ecs-2014-11-13.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ECS.Model { /// <summary> /// Details on a container instance bind mount host volume. /// </summary> public partial class HostVolumeProperties { private string _sourcePath; /// <summary> /// Gets and sets the property SourcePath. /// <para> /// When the <code>host</code> parameter is used, specify a <code>sourcePath</code> to /// declare the path on the host container instance that's presented to the container. /// If this parameter is empty, then the Docker daemon has assigned a host path for you. /// If the <code>host</code> parameter contains a <code>sourcePath</code> file location, /// then the data volume persists at the specified location on the host container instance /// until you delete it manually. If the <code>sourcePath</code> value doesn't 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. /// </para> /// /// <para> /// If you're using the Fargate launch type, the <code>sourcePath</code> parameter is /// not supported. /// </para> /// </summary> public string SourcePath { get { return this._sourcePath; } set { this._sourcePath = value; } } // Check to see if SourcePath property is set internal bool IsSetSourcePath() { return this._sourcePath != null; } } }