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

#include <FunctionConfigurationEnvironment.h>

Public Member Functions

 FunctionConfigurationEnvironment ()
 
 FunctionConfigurationEnvironment (Aws::Utils::Json::JsonView jsonValue)
 
FunctionConfigurationEnvironmentoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
bool GetAccessSysfs () const
 
bool AccessSysfsHasBeenSet () const
 
void SetAccessSysfs (bool value)
 
FunctionConfigurationEnvironmentWithAccessSysfs (bool value)
 
const FunctionExecutionConfigGetExecution () const
 
bool ExecutionHasBeenSet () const
 
void SetExecution (const FunctionExecutionConfig &value)
 
void SetExecution (FunctionExecutionConfig &&value)
 
FunctionConfigurationEnvironmentWithExecution (const FunctionExecutionConfig &value)
 
FunctionConfigurationEnvironmentWithExecution (FunctionExecutionConfig &&value)
 
const Aws::Vector< ResourceAccessPolicy > & GetResourceAccessPolicies () const
 
bool ResourceAccessPoliciesHasBeenSet () const
 
void SetResourceAccessPolicies (const Aws::Vector< ResourceAccessPolicy > &value)
 
void SetResourceAccessPolicies (Aws::Vector< ResourceAccessPolicy > &&value)
 
FunctionConfigurationEnvironmentWithResourceAccessPolicies (const Aws::Vector< ResourceAccessPolicy > &value)
 
FunctionConfigurationEnvironmentWithResourceAccessPolicies (Aws::Vector< ResourceAccessPolicy > &&value)
 
FunctionConfigurationEnvironmentAddResourceAccessPolicies (const ResourceAccessPolicy &value)
 
FunctionConfigurationEnvironmentAddResourceAccessPolicies (ResourceAccessPolicy &&value)
 
const Aws::Map< Aws::String, Aws::String > & GetVariables () const
 
bool VariablesHasBeenSet () const
 
void SetVariables (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetVariables (Aws::Map< Aws::String, Aws::String > &&value)
 
FunctionConfigurationEnvironmentWithVariables (const Aws::Map< Aws::String, Aws::String > &value)
 
FunctionConfigurationEnvironmentWithVariables (Aws::Map< Aws::String, Aws::String > &&value)
 
FunctionConfigurationEnvironmentAddVariables (const Aws::String &key, const Aws::String &value)
 
FunctionConfigurationEnvironmentAddVariables (Aws::String &&key, const Aws::String &value)
 
FunctionConfigurationEnvironmentAddVariables (const Aws::String &key, Aws::String &&value)
 
FunctionConfigurationEnvironmentAddVariables (Aws::String &&key, Aws::String &&value)
 
FunctionConfigurationEnvironmentAddVariables (const char *key, Aws::String &&value)
 
FunctionConfigurationEnvironmentAddVariables (Aws::String &&key, const char *value)
 
FunctionConfigurationEnvironmentAddVariables (const char *key, const char *value)
 

Detailed Description

The environment configuration of the function.

See Also:

AWS API Reference

Definition at line 35 of file FunctionConfigurationEnvironment.h.

Constructor & Destructor Documentation

◆ FunctionConfigurationEnvironment() [1/2]

Aws::Greengrass::Model::FunctionConfigurationEnvironment::FunctionConfigurationEnvironment ( )

◆ FunctionConfigurationEnvironment() [2/2]

Aws::Greengrass::Model::FunctionConfigurationEnvironment::FunctionConfigurationEnvironment ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AccessSysfsHasBeenSet()

bool Aws::Greengrass::Model::FunctionConfigurationEnvironment::AccessSysfsHasBeenSet ( ) const
inline

If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container.

Definition at line 56 of file FunctionConfigurationEnvironment.h.

◆ AddResourceAccessPolicies() [1/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddResourceAccessPolicies ( const ResourceAccessPolicy value)
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 158 of file FunctionConfigurationEnvironment.h.

◆ AddResourceAccessPolicies() [2/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddResourceAccessPolicies ( ResourceAccessPolicy &&  value)
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 166 of file FunctionConfigurationEnvironment.h.

◆ AddVariables() [1/7]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddVariables ( const Aws::String key,
const Aws::String value 
)
inline

Environment variables for the Lambda function's configuration.

Definition at line 202 of file FunctionConfigurationEnvironment.h.

◆ AddVariables() [2/7]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddVariables ( Aws::String &&  key,
const Aws::String value 
)
inline

Environment variables for the Lambda function's configuration.

Definition at line 207 of file FunctionConfigurationEnvironment.h.

◆ AddVariables() [3/7]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddVariables ( const Aws::String key,
Aws::String &&  value 
)
inline

Environment variables for the Lambda function's configuration.

Definition at line 212 of file FunctionConfigurationEnvironment.h.

◆ AddVariables() [4/7]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddVariables ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Environment variables for the Lambda function's configuration.

Definition at line 217 of file FunctionConfigurationEnvironment.h.

◆ AddVariables() [5/7]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddVariables ( const char *  key,
Aws::String &&  value 
)
inline

Environment variables for the Lambda function's configuration.

Definition at line 222 of file FunctionConfigurationEnvironment.h.

◆ AddVariables() [6/7]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddVariables ( Aws::String &&  key,
const char *  value 
)
inline

Environment variables for the Lambda function's configuration.

Definition at line 227 of file FunctionConfigurationEnvironment.h.

◆ AddVariables() [7/7]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::AddVariables ( const char *  key,
const char *  value 
)
inline

Environment variables for the Lambda function's configuration.

Definition at line 232 of file FunctionConfigurationEnvironment.h.

◆ ExecutionHasBeenSet()

bool Aws::Greengrass::Model::FunctionConfigurationEnvironment::ExecutionHasBeenSet ( ) const
inline

Configuration related to executing the Lambda function

Definition at line 81 of file FunctionConfigurationEnvironment.h.

◆ GetAccessSysfs()

bool Aws::Greengrass::Model::FunctionConfigurationEnvironment::GetAccessSysfs ( ) const
inline

If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container.

Definition at line 49 of file FunctionConfigurationEnvironment.h.

◆ GetExecution()

const FunctionExecutionConfig& Aws::Greengrass::Model::FunctionConfigurationEnvironment::GetExecution ( ) const
inline

Configuration related to executing the Lambda function

Definition at line 76 of file FunctionConfigurationEnvironment.h.

◆ GetResourceAccessPolicies()

const Aws::Vector<ResourceAccessPolicy>& Aws::Greengrass::Model::FunctionConfigurationEnvironment::GetResourceAccessPolicies ( ) const
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 110 of file FunctionConfigurationEnvironment.h.

◆ GetVariables()

const Aws::Map<Aws::String, Aws::String>& Aws::Greengrass::Model::FunctionConfigurationEnvironment::GetVariables ( ) const
inline

Environment variables for the Lambda function's configuration.

Definition at line 172 of file FunctionConfigurationEnvironment.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Greengrass::Model::FunctionConfigurationEnvironment::Jsonize ( ) const

◆ operator=()

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ResourceAccessPoliciesHasBeenSet()

bool Aws::Greengrass::Model::FunctionConfigurationEnvironment::ResourceAccessPoliciesHasBeenSet ( ) const
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 118 of file FunctionConfigurationEnvironment.h.

◆ SetAccessSysfs()

void Aws::Greengrass::Model::FunctionConfigurationEnvironment::SetAccessSysfs ( bool  value)
inline

If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container.

Definition at line 63 of file FunctionConfigurationEnvironment.h.

◆ SetExecution() [1/2]

void Aws::Greengrass::Model::FunctionConfigurationEnvironment::SetExecution ( const FunctionExecutionConfig value)
inline

Configuration related to executing the Lambda function

Definition at line 86 of file FunctionConfigurationEnvironment.h.

◆ SetExecution() [2/2]

void Aws::Greengrass::Model::FunctionConfigurationEnvironment::SetExecution ( FunctionExecutionConfig &&  value)
inline

Configuration related to executing the Lambda function

Definition at line 91 of file FunctionConfigurationEnvironment.h.

◆ SetResourceAccessPolicies() [1/2]

void Aws::Greengrass::Model::FunctionConfigurationEnvironment::SetResourceAccessPolicies ( const Aws::Vector< ResourceAccessPolicy > &  value)
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 126 of file FunctionConfigurationEnvironment.h.

◆ SetResourceAccessPolicies() [2/2]

void Aws::Greengrass::Model::FunctionConfigurationEnvironment::SetResourceAccessPolicies ( Aws::Vector< ResourceAccessPolicy > &&  value)
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 134 of file FunctionConfigurationEnvironment.h.

◆ SetVariables() [1/2]

void Aws::Greengrass::Model::FunctionConfigurationEnvironment::SetVariables ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Environment variables for the Lambda function's configuration.

Definition at line 182 of file FunctionConfigurationEnvironment.h.

◆ SetVariables() [2/2]

void Aws::Greengrass::Model::FunctionConfigurationEnvironment::SetVariables ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Environment variables for the Lambda function's configuration.

Definition at line 187 of file FunctionConfigurationEnvironment.h.

◆ VariablesHasBeenSet()

bool Aws::Greengrass::Model::FunctionConfigurationEnvironment::VariablesHasBeenSet ( ) const
inline

Environment variables for the Lambda function's configuration.

Definition at line 177 of file FunctionConfigurationEnvironment.h.

◆ WithAccessSysfs()

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::WithAccessSysfs ( bool  value)
inline

If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container.

Definition at line 70 of file FunctionConfigurationEnvironment.h.

◆ WithExecution() [1/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::WithExecution ( const FunctionExecutionConfig value)
inline

Configuration related to executing the Lambda function

Definition at line 96 of file FunctionConfigurationEnvironment.h.

◆ WithExecution() [2/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::WithExecution ( FunctionExecutionConfig &&  value)
inline

Configuration related to executing the Lambda function

Definition at line 101 of file FunctionConfigurationEnvironment.h.

◆ WithResourceAccessPolicies() [1/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::WithResourceAccessPolicies ( const Aws::Vector< ResourceAccessPolicy > &  value)
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 142 of file FunctionConfigurationEnvironment.h.

◆ WithResourceAccessPolicies() [2/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::WithResourceAccessPolicies ( Aws::Vector< ResourceAccessPolicy > &&  value)
inline

A list of the resources, with their permissions, to which the Lambda function will be granted access. A Lambda function can have at most 10 resources. ResourceAccessPolicies apply only when you run the Lambda function in a Greengrass container.

Definition at line 150 of file FunctionConfigurationEnvironment.h.

◆ WithVariables() [1/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::WithVariables ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Environment variables for the Lambda function's configuration.

Definition at line 192 of file FunctionConfigurationEnvironment.h.

◆ WithVariables() [2/2]

FunctionConfigurationEnvironment& Aws::Greengrass::Model::FunctionConfigurationEnvironment::WithVariables ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Environment variables for the Lambda function's configuration.

Definition at line 197 of file FunctionConfigurationEnvironment.h.


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