AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::EnvironmentFile Class Reference

#include <EnvironmentFile.h>

Public Member Functions

 EnvironmentFile ()
 
 EnvironmentFile (Aws::Utils::Json::JsonView jsonValue)
 
EnvironmentFileoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetValue () const
 
bool ValueHasBeenSet () const
 
void SetValue (const Aws::String &value)
 
void SetValue (Aws::String &&value)
 
void SetValue (const char *value)
 
EnvironmentFileWithValue (const Aws::String &value)
 
EnvironmentFileWithValue (Aws::String &&value)
 
EnvironmentFileWithValue (const char *value)
 
const EnvironmentFileTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const EnvironmentFileType &value)
 
void SetType (EnvironmentFileType &&value)
 
EnvironmentFileWithType (const EnvironmentFileType &value)
 
EnvironmentFileWithType (EnvironmentFileType &&value)
 

Detailed Description

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 on 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 are processed from the top down. It is recommended to use unique variable names. For more information, see Specifying Environment Variables in the Amazon Elastic Container Service Developer Guide.

This field is not valid for containers in tasks using the Fargate launch type.

See Also:

AWS API Reference

Definition at line 48 of file EnvironmentFile.h.

Constructor & Destructor Documentation

◆ EnvironmentFile() [1/2]

Aws::ECS::Model::EnvironmentFile::EnvironmentFile ( )

◆ EnvironmentFile() [2/2]

Aws::ECS::Model::EnvironmentFile::EnvironmentFile ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetType()

const EnvironmentFileType& Aws::ECS::Model::EnvironmentFile::GetType ( ) const
inline

The file type to use. The only supported value is s3.

Definition at line 109 of file EnvironmentFile.h.

◆ GetValue()

const Aws::String& Aws::ECS::Model::EnvironmentFile::GetValue ( ) const
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 61 of file EnvironmentFile.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::EnvironmentFile::Jsonize ( ) const

◆ operator=()

EnvironmentFile& Aws::ECS::Model::EnvironmentFile::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetType() [1/2]

void Aws::ECS::Model::EnvironmentFile::SetType ( const EnvironmentFileType value)
inline

The file type to use. The only supported value is s3.

Definition at line 119 of file EnvironmentFile.h.

◆ SetType() [2/2]

void Aws::ECS::Model::EnvironmentFile::SetType ( EnvironmentFileType &&  value)
inline

The file type to use. The only supported value is s3.

Definition at line 124 of file EnvironmentFile.h.

◆ SetValue() [1/3]

void Aws::ECS::Model::EnvironmentFile::SetValue ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 73 of file EnvironmentFile.h.

◆ SetValue() [2/3]

void Aws::ECS::Model::EnvironmentFile::SetValue ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 79 of file EnvironmentFile.h.

◆ SetValue() [3/3]

void Aws::ECS::Model::EnvironmentFile::SetValue ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 85 of file EnvironmentFile.h.

◆ TypeHasBeenSet()

bool Aws::ECS::Model::EnvironmentFile::TypeHasBeenSet ( ) const
inline

The file type to use. The only supported value is s3.

Definition at line 114 of file EnvironmentFile.h.

◆ ValueHasBeenSet()

bool Aws::ECS::Model::EnvironmentFile::ValueHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 67 of file EnvironmentFile.h.

◆ WithType() [1/2]

EnvironmentFile& Aws::ECS::Model::EnvironmentFile::WithType ( const EnvironmentFileType value)
inline

The file type to use. The only supported value is s3.

Definition at line 129 of file EnvironmentFile.h.

◆ WithType() [2/2]

EnvironmentFile& Aws::ECS::Model::EnvironmentFile::WithType ( EnvironmentFileType &&  value)
inline

The file type to use. The only supported value is s3.

Definition at line 134 of file EnvironmentFile.h.

◆ WithValue() [1/3]

EnvironmentFile& Aws::ECS::Model::EnvironmentFile::WithValue ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 91 of file EnvironmentFile.h.

◆ WithValue() [2/3]

EnvironmentFile& Aws::ECS::Model::EnvironmentFile::WithValue ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 97 of file EnvironmentFile.h.

◆ WithValue() [3/3]

EnvironmentFile& Aws::ECS::Model::EnvironmentFile::WithValue ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.

Definition at line 103 of file EnvironmentFile.h.


The documentation for this class was generated from the following file: