/* * 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 { /// /// Details on a container instance bind mount host volume. /// public partial class HostVolumeProperties { private string _sourcePath; /// /// Gets and sets the property SourcePath. /// /// When the host parameter is used, specify a sourcePath 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 host parameter contains a sourcePath file location, /// then the data volume persists at the specified location on the host container instance /// until you delete it manually. If the sourcePath 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. /// /// /// /// If you're using the Fargate launch type, the sourcePath parameter is /// not supported. /// /// 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; } } }