AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lambda::Model::CreateFunctionRequest Class Reference

#include <CreateFunctionRequest.h>

+ Inheritance diagram for Aws::Lambda::Model::CreateFunctionRequest:

Public Member Functions

 CreateFunctionRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetFunctionName () const
 
bool FunctionNameHasBeenSet () const
 
void SetFunctionName (const Aws::String &value)
 
void SetFunctionName (Aws::String &&value)
 
void SetFunctionName (const char *value)
 
CreateFunctionRequestWithFunctionName (const Aws::String &value)
 
CreateFunctionRequestWithFunctionName (Aws::String &&value)
 
CreateFunctionRequestWithFunctionName (const char *value)
 
const RuntimeGetRuntime () const
 
bool RuntimeHasBeenSet () const
 
void SetRuntime (const Runtime &value)
 
void SetRuntime (Runtime &&value)
 
CreateFunctionRequestWithRuntime (const Runtime &value)
 
CreateFunctionRequestWithRuntime (Runtime &&value)
 
const Aws::StringGetRole () const
 
bool RoleHasBeenSet () const
 
void SetRole (const Aws::String &value)
 
void SetRole (Aws::String &&value)
 
void SetRole (const char *value)
 
CreateFunctionRequestWithRole (const Aws::String &value)
 
CreateFunctionRequestWithRole (Aws::String &&value)
 
CreateFunctionRequestWithRole (const char *value)
 
const Aws::StringGetHandler () const
 
bool HandlerHasBeenSet () const
 
void SetHandler (const Aws::String &value)
 
void SetHandler (Aws::String &&value)
 
void SetHandler (const char *value)
 
CreateFunctionRequestWithHandler (const Aws::String &value)
 
CreateFunctionRequestWithHandler (Aws::String &&value)
 
CreateFunctionRequestWithHandler (const char *value)
 
const FunctionCodeGetCode () const
 
bool CodeHasBeenSet () const
 
void SetCode (const FunctionCode &value)
 
void SetCode (FunctionCode &&value)
 
CreateFunctionRequestWithCode (const FunctionCode &value)
 
CreateFunctionRequestWithCode (FunctionCode &&value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreateFunctionRequestWithDescription (const Aws::String &value)
 
CreateFunctionRequestWithDescription (Aws::String &&value)
 
CreateFunctionRequestWithDescription (const char *value)
 
int GetTimeout () const
 
bool TimeoutHasBeenSet () const
 
void SetTimeout (int value)
 
CreateFunctionRequestWithTimeout (int value)
 
int GetMemorySize () const
 
bool MemorySizeHasBeenSet () const
 
void SetMemorySize (int value)
 
CreateFunctionRequestWithMemorySize (int value)
 
bool GetPublish () const
 
bool PublishHasBeenSet () const
 
void SetPublish (bool value)
 
CreateFunctionRequestWithPublish (bool value)
 
const VpcConfigGetVpcConfig () const
 
bool VpcConfigHasBeenSet () const
 
void SetVpcConfig (const VpcConfig &value)
 
void SetVpcConfig (VpcConfig &&value)
 
CreateFunctionRequestWithVpcConfig (const VpcConfig &value)
 
CreateFunctionRequestWithVpcConfig (VpcConfig &&value)
 
const DeadLetterConfigGetDeadLetterConfig () const
 
bool DeadLetterConfigHasBeenSet () const
 
void SetDeadLetterConfig (const DeadLetterConfig &value)
 
void SetDeadLetterConfig (DeadLetterConfig &&value)
 
CreateFunctionRequestWithDeadLetterConfig (const DeadLetterConfig &value)
 
CreateFunctionRequestWithDeadLetterConfig (DeadLetterConfig &&value)
 
const EnvironmentGetEnvironment () const
 
bool EnvironmentHasBeenSet () const
 
void SetEnvironment (const Environment &value)
 
void SetEnvironment (Environment &&value)
 
CreateFunctionRequestWithEnvironment (const Environment &value)
 
CreateFunctionRequestWithEnvironment (Environment &&value)
 
const Aws::StringGetKMSKeyArn () const
 
bool KMSKeyArnHasBeenSet () const
 
void SetKMSKeyArn (const Aws::String &value)
 
void SetKMSKeyArn (Aws::String &&value)
 
void SetKMSKeyArn (const char *value)
 
CreateFunctionRequestWithKMSKeyArn (const Aws::String &value)
 
CreateFunctionRequestWithKMSKeyArn (Aws::String &&value)
 
CreateFunctionRequestWithKMSKeyArn (const char *value)
 
const TracingConfigGetTracingConfig () const
 
bool TracingConfigHasBeenSet () const
 
void SetTracingConfig (const TracingConfig &value)
 
void SetTracingConfig (TracingConfig &&value)
 
CreateFunctionRequestWithTracingConfig (const TracingConfig &value)
 
CreateFunctionRequestWithTracingConfig (TracingConfig &&value)
 
const Aws::Map< Aws::String, Aws::String > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetTags (Aws::Map< Aws::String, Aws::String > &&value)
 
CreateFunctionRequestWithTags (const Aws::Map< Aws::String, Aws::String > &value)
 
CreateFunctionRequestWithTags (Aws::Map< Aws::String, Aws::String > &&value)
 
CreateFunctionRequestAddTags (const Aws::String &key, const Aws::String &value)
 
CreateFunctionRequestAddTags (Aws::String &&key, const Aws::String &value)
 
CreateFunctionRequestAddTags (const Aws::String &key, Aws::String &&value)
 
CreateFunctionRequestAddTags (Aws::String &&key, Aws::String &&value)
 
CreateFunctionRequestAddTags (const char *key, Aws::String &&value)
 
CreateFunctionRequestAddTags (Aws::String &&key, const char *value)
 
CreateFunctionRequestAddTags (const char *key, const char *value)
 
const Aws::Vector< Aws::String > & GetLayers () const
 
bool LayersHasBeenSet () const
 
void SetLayers (const Aws::Vector< Aws::String > &value)
 
void SetLayers (Aws::Vector< Aws::String > &&value)
 
CreateFunctionRequestWithLayers (const Aws::Vector< Aws::String > &value)
 
CreateFunctionRequestWithLayers (Aws::Vector< Aws::String > &&value)
 
CreateFunctionRequestAddLayers (const Aws::String &value)
 
CreateFunctionRequestAddLayers (Aws::String &&value)
 
CreateFunctionRequestAddLayers (const char *value)
 
const Aws::Vector< FileSystemConfig > & GetFileSystemConfigs () const
 
bool FileSystemConfigsHasBeenSet () const
 
void SetFileSystemConfigs (const Aws::Vector< FileSystemConfig > &value)
 
void SetFileSystemConfigs (Aws::Vector< FileSystemConfig > &&value)
 
CreateFunctionRequestWithFileSystemConfigs (const Aws::Vector< FileSystemConfig > &value)
 
CreateFunctionRequestWithFileSystemConfigs (Aws::Vector< FileSystemConfig > &&value)
 
CreateFunctionRequestAddFileSystemConfigs (const FileSystemConfig &value)
 
CreateFunctionRequestAddFileSystemConfigs (FileSystemConfig &&value)
 
- Public Member Functions inherited from Aws::Lambda::LambdaRequest
virtual ~LambdaRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::Lambda::LambdaRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 30 of file CreateFunctionRequest.h.

Constructor & Destructor Documentation

◆ CreateFunctionRequest()

Aws::Lambda::Model::CreateFunctionRequest::CreateFunctionRequest ( )

Member Function Documentation

◆ AddFileSystemConfigs() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddFileSystemConfigs ( const FileSystemConfig value)
inline

Connection settings for an Amazon EFS file system.

Definition at line 884 of file CreateFunctionRequest.h.

◆ AddFileSystemConfigs() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddFileSystemConfigs ( FileSystemConfig &&  value)
inline

Connection settings for an Amazon EFS file system.

Definition at line 889 of file CreateFunctionRequest.h.

◆ AddLayers() [1/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddLayers ( const Aws::String value)
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 832 of file CreateFunctionRequest.h.

◆ AddLayers() [2/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddLayers ( Aws::String &&  value)
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 840 of file CreateFunctionRequest.h.

◆ AddLayers() [3/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddLayers ( const char *  value)
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 848 of file CreateFunctionRequest.h.

◆ AddTags() [1/7]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddTags ( const Aws::String key,
const Aws::String value 
)
inline

A list of tags to apply to the function.

Definition at line 733 of file CreateFunctionRequest.h.

◆ AddTags() [2/7]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddTags ( Aws::String &&  key,
const Aws::String value 
)
inline

A list of tags to apply to the function.

Definition at line 740 of file CreateFunctionRequest.h.

◆ AddTags() [3/7]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddTags ( const Aws::String key,
Aws::String &&  value 
)
inline

A list of tags to apply to the function.

Definition at line 747 of file CreateFunctionRequest.h.

◆ AddTags() [4/7]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddTags ( Aws::String &&  key,
Aws::String &&  value 
)
inline

A list of tags to apply to the function.

Definition at line 754 of file CreateFunctionRequest.h.

◆ AddTags() [5/7]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddTags ( const char *  key,
Aws::String &&  value 
)
inline

A list of tags to apply to the function.

Definition at line 761 of file CreateFunctionRequest.h.

◆ AddTags() [6/7]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddTags ( Aws::String &&  key,
const char *  value 
)
inline

A list of tags to apply to the function.

Definition at line 768 of file CreateFunctionRequest.h.

◆ AddTags() [7/7]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddTags ( const char *  key,
const char *  value 
)
inline

A list of tags to apply to the function.

Definition at line 775 of file CreateFunctionRequest.h.

◆ CodeHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::CodeHasBeenSet ( ) const
inline

The code for the function.

Definition at line 300 of file CreateFunctionRequest.h.

◆ DeadLetterConfigHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::DeadLetterConfigHasBeenSet ( ) const
inline

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

Definition at line 516 of file CreateFunctionRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::DescriptionHasBeenSet ( ) const
inline

A description of the function.

Definition at line 331 of file CreateFunctionRequest.h.

◆ EnvironmentHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::EnvironmentHasBeenSet ( ) const
inline

Environment variables that are accessible from function code during execution.

Definition at line 565 of file CreateFunctionRequest.h.

◆ FileSystemConfigsHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::FileSystemConfigsHasBeenSet ( ) const
inline

Connection settings for an Amazon EFS file system.

Definition at line 859 of file CreateFunctionRequest.h.

◆ FunctionNameHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::FunctionNameHasBeenSet ( ) const
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 66 of file CreateFunctionRequest.h.

◆ GetCode()

const FunctionCode& Aws::Lambda::Model::CreateFunctionRequest::GetCode ( ) const
inline

The code for the function.

Definition at line 295 of file CreateFunctionRequest.h.

◆ GetDeadLetterConfig()

const DeadLetterConfig& Aws::Lambda::Model::CreateFunctionRequest::GetDeadLetterConfig ( ) const
inline

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

Definition at line 507 of file CreateFunctionRequest.h.

◆ GetDescription()

const Aws::String& Aws::Lambda::Model::CreateFunctionRequest::GetDescription ( ) const
inline

A description of the function.

Definition at line 326 of file CreateFunctionRequest.h.

◆ GetEnvironment()

const Environment& Aws::Lambda::Model::CreateFunctionRequest::GetEnvironment ( ) const
inline

Environment variables that are accessible from function code during execution.

Definition at line 559 of file CreateFunctionRequest.h.

◆ GetFileSystemConfigs()

const Aws::Vector<FileSystemConfig>& Aws::Lambda::Model::CreateFunctionRequest::GetFileSystemConfigs ( ) const
inline

Connection settings for an Amazon EFS file system.

Definition at line 854 of file CreateFunctionRequest.h.

◆ GetFunctionName()

const Aws::String& Aws::Lambda::Model::CreateFunctionRequest::GetFunctionName ( ) const
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 54 of file CreateFunctionRequest.h.

◆ GetHandler()

const Aws::String& Aws::Lambda::Model::CreateFunctionRequest::GetHandler ( ) const
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 226 of file CreateFunctionRequest.h.

◆ GetKMSKeyArn()

const Aws::String& Aws::Lambda::Model::CreateFunctionRequest::GetKMSKeyArn ( ) const
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 597 of file CreateFunctionRequest.h.

◆ GetLayers()

const Aws::Vector<Aws::String>& Aws::Lambda::Model::CreateFunctionRequest::GetLayers ( ) const
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 784 of file CreateFunctionRequest.h.

◆ GetMemorySize()

int Aws::Lambda::Model::CreateFunctionRequest::GetMemorySize ( ) const
inline

The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.

Definition at line 394 of file CreateFunctionRequest.h.

◆ GetPublish()

bool Aws::Lambda::Model::CreateFunctionRequest::GetPublish ( ) const
inline

Set to true to publish the first version of the function during creation.

Definition at line 421 of file CreateFunctionRequest.h.

◆ GetRole()

const Aws::String& Aws::Lambda::Model::CreateFunctionRequest::GetRole ( ) const
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 181 of file CreateFunctionRequest.h.

◆ GetRuntime()

const Runtime& Aws::Lambda::Model::CreateFunctionRequest::GetRuntime ( ) const
inline

The identifier of the function's runtime.

Definition at line 145 of file CreateFunctionRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Lambda::Model::CreateFunctionRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 39 of file CreateFunctionRequest.h.

◆ GetTags()

const Aws::Map<Aws::String, Aws::String>& Aws::Lambda::Model::CreateFunctionRequest::GetTags ( ) const
inline

A list of tags to apply to the function.

Definition at line 691 of file CreateFunctionRequest.h.

◆ GetTimeout()

int Aws::Lambda::Model::CreateFunctionRequest::GetTimeout ( ) const
inline

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

Definition at line 368 of file CreateFunctionRequest.h.

◆ GetTracingConfig()

const TracingConfig& Aws::Lambda::Model::CreateFunctionRequest::GetTracingConfig ( ) const
inline

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

Definition at line 653 of file CreateFunctionRequest.h.

◆ GetVpcConfig()

const VpcConfig& Aws::Lambda::Model::CreateFunctionRequest::GetVpcConfig ( ) const
inline

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

Definition at line 447 of file CreateFunctionRequest.h.

◆ HandlerHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::HandlerHasBeenSet ( ) const
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 235 of file CreateFunctionRequest.h.

◆ KMSKeyArnHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::KMSKeyArnHasBeenSet ( ) const
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 604 of file CreateFunctionRequest.h.

◆ LayersHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::LayersHasBeenSet ( ) const
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 792 of file CreateFunctionRequest.h.

◆ MemorySizeHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::MemorySizeHasBeenSet ( ) const
inline

The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.

Definition at line 401 of file CreateFunctionRequest.h.

◆ PublishHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::PublishHasBeenSet ( ) const
inline

Set to true to publish the first version of the function during creation.

Definition at line 426 of file CreateFunctionRequest.h.

◆ RoleHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::RoleHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 186 of file CreateFunctionRequest.h.

◆ RuntimeHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::RuntimeHasBeenSet ( ) const
inline

The identifier of the function's runtime.

Definition at line 151 of file CreateFunctionRequest.h.

◆ SerializePayload()

Aws::String Aws::Lambda::Model::CreateFunctionRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCode() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetCode ( const FunctionCode value)
inline

The code for the function.

Definition at line 305 of file CreateFunctionRequest.h.

◆ SetCode() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetCode ( FunctionCode &&  value)
inline

The code for the function.

Definition at line 310 of file CreateFunctionRequest.h.

◆ SetDeadLetterConfig() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetDeadLetterConfig ( const DeadLetterConfig value)
inline

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

Definition at line 525 of file CreateFunctionRequest.h.

◆ SetDeadLetterConfig() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetDeadLetterConfig ( DeadLetterConfig &&  value)
inline

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

Definition at line 534 of file CreateFunctionRequest.h.

◆ SetDescription() [1/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetDescription ( const Aws::String value)
inline

A description of the function.

Definition at line 336 of file CreateFunctionRequest.h.

◆ SetDescription() [2/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetDescription ( Aws::String &&  value)
inline

A description of the function.

Definition at line 341 of file CreateFunctionRequest.h.

◆ SetDescription() [3/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetDescription ( const char *  value)
inline

A description of the function.

Definition at line 346 of file CreateFunctionRequest.h.

◆ SetEnvironment() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetEnvironment ( const Environment value)
inline

Environment variables that are accessible from function code during execution.

Definition at line 571 of file CreateFunctionRequest.h.

◆ SetEnvironment() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetEnvironment ( Environment &&  value)
inline

Environment variables that are accessible from function code during execution.

Definition at line 577 of file CreateFunctionRequest.h.

◆ SetFileSystemConfigs() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetFileSystemConfigs ( const Aws::Vector< FileSystemConfig > &  value)
inline

Connection settings for an Amazon EFS file system.

Definition at line 864 of file CreateFunctionRequest.h.

◆ SetFileSystemConfigs() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetFileSystemConfigs ( Aws::Vector< FileSystemConfig > &&  value)
inline

Connection settings for an Amazon EFS file system.

Definition at line 869 of file CreateFunctionRequest.h.

◆ SetFunctionName() [1/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetFunctionName ( const Aws::String value)
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 78 of file CreateFunctionRequest.h.

◆ SetFunctionName() [2/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetFunctionName ( Aws::String &&  value)
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 90 of file CreateFunctionRequest.h.

◆ SetFunctionName() [3/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetFunctionName ( const char *  value)
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 102 of file CreateFunctionRequest.h.

◆ SetHandler() [1/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetHandler ( const Aws::String value)
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 244 of file CreateFunctionRequest.h.

◆ SetHandler() [2/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetHandler ( Aws::String &&  value)
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 253 of file CreateFunctionRequest.h.

◆ SetHandler() [3/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetHandler ( const char *  value)
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 262 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [1/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetKMSKeyArn ( const Aws::String value)
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 611 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [2/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetKMSKeyArn ( Aws::String &&  value)
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 618 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [3/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetKMSKeyArn ( const char *  value)
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 625 of file CreateFunctionRequest.h.

◆ SetLayers() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetLayers ( const Aws::Vector< Aws::String > &  value)
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 800 of file CreateFunctionRequest.h.

◆ SetLayers() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetLayers ( Aws::Vector< Aws::String > &&  value)
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 808 of file CreateFunctionRequest.h.

◆ SetMemorySize()

void Aws::Lambda::Model::CreateFunctionRequest::SetMemorySize ( int  value)
inline

The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.

Definition at line 408 of file CreateFunctionRequest.h.

◆ SetPublish()

void Aws::Lambda::Model::CreateFunctionRequest::SetPublish ( bool  value)
inline

Set to true to publish the first version of the function during creation.

Definition at line 431 of file CreateFunctionRequest.h.

◆ SetRole() [1/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetRole ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 191 of file CreateFunctionRequest.h.

◆ SetRole() [2/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetRole ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 196 of file CreateFunctionRequest.h.

◆ SetRole() [3/3]

void Aws::Lambda::Model::CreateFunctionRequest::SetRole ( const char *  value)
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 201 of file CreateFunctionRequest.h.

◆ SetRuntime() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetRuntime ( const Runtime value)
inline

The identifier of the function's runtime.

Definition at line 157 of file CreateFunctionRequest.h.

◆ SetRuntime() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetRuntime ( Runtime &&  value)
inline

The identifier of the function's runtime.

Definition at line 163 of file CreateFunctionRequest.h.

◆ SetTags() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

A list of tags to apply to the function.

Definition at line 705 of file CreateFunctionRequest.h.

◆ SetTags() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

A list of tags to apply to the function.

Definition at line 712 of file CreateFunctionRequest.h.

◆ SetTimeout()

void Aws::Lambda::Model::CreateFunctionRequest::SetTimeout ( int  value)
inline

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

Definition at line 380 of file CreateFunctionRequest.h.

◆ SetTracingConfig() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetTracingConfig ( const TracingConfig value)
inline

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

Definition at line 665 of file CreateFunctionRequest.h.

◆ SetTracingConfig() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetTracingConfig ( TracingConfig &&  value)
inline

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

Definition at line 671 of file CreateFunctionRequest.h.

◆ SetVpcConfig() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetVpcConfig ( const VpcConfig value)
inline

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

Definition at line 467 of file CreateFunctionRequest.h.

◆ SetVpcConfig() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetVpcConfig ( VpcConfig &&  value)
inline

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

Definition at line 477 of file CreateFunctionRequest.h.

◆ TagsHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::TagsHasBeenSet ( ) const
inline

A list of tags to apply to the function.

Definition at line 698 of file CreateFunctionRequest.h.

◆ TimeoutHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::TimeoutHasBeenSet ( ) const
inline

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

Definition at line 374 of file CreateFunctionRequest.h.

◆ TracingConfigHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::TracingConfigHasBeenSet ( ) const
inline

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

Definition at line 659 of file CreateFunctionRequest.h.

◆ VpcConfigHasBeenSet()

bool Aws::Lambda::Model::CreateFunctionRequest::VpcConfigHasBeenSet ( ) const
inline

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

Definition at line 457 of file CreateFunctionRequest.h.

◆ WithCode() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithCode ( const FunctionCode value)
inline

The code for the function.

Definition at line 315 of file CreateFunctionRequest.h.

◆ WithCode() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithCode ( FunctionCode &&  value)
inline

The code for the function.

Definition at line 320 of file CreateFunctionRequest.h.

◆ WithDeadLetterConfig() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithDeadLetterConfig ( const DeadLetterConfig value)
inline

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

Definition at line 543 of file CreateFunctionRequest.h.

◆ WithDeadLetterConfig() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithDeadLetterConfig ( DeadLetterConfig &&  value)
inline

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.

Definition at line 552 of file CreateFunctionRequest.h.

◆ WithDescription() [1/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithDescription ( const Aws::String value)
inline

A description of the function.

Definition at line 351 of file CreateFunctionRequest.h.

◆ WithDescription() [2/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithDescription ( Aws::String &&  value)
inline

A description of the function.

Definition at line 356 of file CreateFunctionRequest.h.

◆ WithDescription() [3/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithDescription ( const char *  value)
inline

A description of the function.

Definition at line 361 of file CreateFunctionRequest.h.

◆ WithEnvironment() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithEnvironment ( const Environment value)
inline

Environment variables that are accessible from function code during execution.

Definition at line 583 of file CreateFunctionRequest.h.

◆ WithEnvironment() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithEnvironment ( Environment &&  value)
inline

Environment variables that are accessible from function code during execution.

Definition at line 589 of file CreateFunctionRequest.h.

◆ WithFileSystemConfigs() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithFileSystemConfigs ( const Aws::Vector< FileSystemConfig > &  value)
inline

Connection settings for an Amazon EFS file system.

Definition at line 874 of file CreateFunctionRequest.h.

◆ WithFileSystemConfigs() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithFileSystemConfigs ( Aws::Vector< FileSystemConfig > &&  value)
inline

Connection settings for an Amazon EFS file system.

Definition at line 879 of file CreateFunctionRequest.h.

◆ WithFunctionName() [1/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithFunctionName ( const Aws::String value)
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 114 of file CreateFunctionRequest.h.

◆ WithFunctionName() [2/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithFunctionName ( Aws::String &&  value)
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 126 of file CreateFunctionRequest.h.

◆ WithFunctionName() [3/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithFunctionName ( const char *  value)
inline

The name of the Lambda function.

Name formats

  • Function name - my-function.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

  • Partial ARN - 123456789012:function:my-function.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Definition at line 138 of file CreateFunctionRequest.h.

◆ WithHandler() [1/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithHandler ( const Aws::String value)
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 271 of file CreateFunctionRequest.h.

◆ WithHandler() [2/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithHandler ( Aws::String &&  value)
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 280 of file CreateFunctionRequest.h.

◆ WithHandler() [3/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithHandler ( const char *  value)
inline

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see Programming Model.

Definition at line 289 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [1/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithKMSKeyArn ( const Aws::String value)
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 632 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [2/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithKMSKeyArn ( Aws::String &&  value)
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 639 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [3/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithKMSKeyArn ( const char *  value)
inline

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Definition at line 646 of file CreateFunctionRequest.h.

◆ WithLayers() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithLayers ( const Aws::Vector< Aws::String > &  value)
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 816 of file CreateFunctionRequest.h.

◆ WithLayers() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithLayers ( Aws::Vector< Aws::String > &&  value)
inline

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Definition at line 824 of file CreateFunctionRequest.h.

◆ WithMemorySize()

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithMemorySize ( int  value)
inline

The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.

Definition at line 415 of file CreateFunctionRequest.h.

◆ WithPublish()

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithPublish ( bool  value)
inline

Set to true to publish the first version of the function during creation.

Definition at line 436 of file CreateFunctionRequest.h.

◆ WithRole() [1/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithRole ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 206 of file CreateFunctionRequest.h.

◆ WithRole() [2/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithRole ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 211 of file CreateFunctionRequest.h.

◆ WithRole() [3/3]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithRole ( const char *  value)
inline

The Amazon Resource Name (ARN) of the function's execution role.

Definition at line 216 of file CreateFunctionRequest.h.

◆ WithRuntime() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithRuntime ( const Runtime value)
inline

The identifier of the function's runtime.

Definition at line 169 of file CreateFunctionRequest.h.

◆ WithRuntime() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithRuntime ( Runtime &&  value)
inline

The identifier of the function's runtime.

Definition at line 175 of file CreateFunctionRequest.h.

◆ WithTags() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithTags ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

A list of tags to apply to the function.

Definition at line 719 of file CreateFunctionRequest.h.

◆ WithTags() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithTags ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

A list of tags to apply to the function.

Definition at line 726 of file CreateFunctionRequest.h.

◆ WithTimeout()

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithTimeout ( int  value)
inline

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

Definition at line 386 of file CreateFunctionRequest.h.

◆ WithTracingConfig() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithTracingConfig ( const TracingConfig value)
inline

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

Definition at line 677 of file CreateFunctionRequest.h.

◆ WithTracingConfig() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithTracingConfig ( TracingConfig &&  value)
inline

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

Definition at line 683 of file CreateFunctionRequest.h.

◆ WithVpcConfig() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithVpcConfig ( const VpcConfig value)
inline

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

Definition at line 487 of file CreateFunctionRequest.h.

◆ WithVpcConfig() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithVpcConfig ( VpcConfig &&  value)
inline

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can only access resources and the internet through that VPC. For more information, see VPC Settings.

Definition at line 497 of file CreateFunctionRequest.h.


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