/*
* 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 pipes-2015-10-07.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.Pipes.Model
{
///
/// A list of files containing the environment variables to pass to a container. You can
/// specify up to ten environment files. The file must have a .env
file extension.
/// Each line in an environment file should contain an environment variable in VARIABLE=VALUE
/// format. Lines beginning with #
are treated as comments and are ignored.
/// For more information about the environment variable file syntax, see Declare
/// default environment variables in file.
///
///
///
/// If there are environment variables specified using the environment
parameter
/// in a container definition, they take precedence over the variables contained within
/// an environment file. If multiple environment files are specified that contain the
/// same variable, they're processed from the top down. We recommend that you use unique
/// variable names. For more information, see Specifying
/// environment variables in the Amazon Elastic Container Service Developer Guide.
///
///
///
/// This parameter is only supported for tasks hosted on Fargate using the following platform
/// versions:
///
/// -
///
/// Linux platform version
1.4.0
or later.
///
/// -
///
/// Windows platform version
1.0.0
or later.
///
///
///
public partial class EcsEnvironmentFile
{
private EcsEnvironmentFileType _type;
private string _value;
///
/// Gets and sets the property Type.
///
/// The file type to use. The only supported value is s3
.
///
///
[AWSProperty(Required=true)]
public EcsEnvironmentFileType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
///
/// Gets and sets the property Value.
///
/// The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment
/// variable file.
///
///
[AWSProperty(Required=true)]
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
}