AWS SDK for C++  1.8.185
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 PackageTypeGetPackageType () const
 
bool PackageTypeHasBeenSet () const
 
void SetPackageType (const PackageType &value)
 
void SetPackageType (PackageType &&value)
 
CreateFunctionRequestWithPackageType (const PackageType &value)
 
CreateFunctionRequestWithPackageType (PackageType &&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)
 
const ImageConfigGetImageConfig () const
 
bool ImageConfigHasBeenSet () const
 
void SetImageConfig (const ImageConfig &value)
 
void SetImageConfig (ImageConfig &&value)
 
CreateFunctionRequestWithImageConfig (const ImageConfig &value)
 
CreateFunctionRequestWithImageConfig (ImageConfig &&value)
 
const Aws::StringGetCodeSigningConfigArn () const
 
bool CodeSigningConfigArnHasBeenSet () const
 
void SetCodeSigningConfigArn (const Aws::String &value)
 
void SetCodeSigningConfigArn (Aws::String &&value)
 
void SetCodeSigningConfigArn (const char *value)
 
CreateFunctionRequestWithCodeSigningConfigArn (const Aws::String &value)
 
CreateFunctionRequestWithCodeSigningConfigArn (Aws::String &&value)
 
CreateFunctionRequestWithCodeSigningConfigArn (const char *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 32 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 923 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 928 of file CreateFunctionRequest.h.

◆ AddLayers() [1/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 879 of file CreateFunctionRequest.h.

◆ AddLayers() [2/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 871 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 887 of file CreateFunctionRequest.h.

◆ AddTags() [1/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 793 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 779 of file CreateFunctionRequest.h.

◆ AddTags() [3/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 807 of file CreateFunctionRequest.h.

◆ AddTags() [4/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 786 of file CreateFunctionRequest.h.

◆ AddTags() [5/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 772 of file CreateFunctionRequest.h.

◆ AddTags() [6/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 800 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 814 of file CreateFunctionRequest.h.

◆ CodeHasBeenSet()

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

The code for the function.

Definition at line 302 of file CreateFunctionRequest.h.

◆ CodeSigningConfigArnHasBeenSet()

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 992 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 555 of file CreateFunctionRequest.h.

◆ DescriptionHasBeenSet()

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

A description of the function.

Definition at line 333 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 604 of file CreateFunctionRequest.h.

◆ FileSystemConfigsHasBeenSet()

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

Connection settings for an Amazon EFS file system.

Definition at line 898 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 68 of file CreateFunctionRequest.h.

◆ GetCode()

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

The code for the function.

Definition at line 297 of file CreateFunctionRequest.h.

◆ GetCodeSigningConfigArn()

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 985 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 546 of file CreateFunctionRequest.h.

◆ GetDescription()

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

A description of the function.

Definition at line 328 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 598 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 893 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 56 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 228 of file CreateFunctionRequest.h.

◆ GetImageConfig()

const ImageConfig& Aws::Lambda::Model::CreateFunctionRequest::GetImageConfig ( ) const
inline

Container image configuration values that override the values in the container image Dockerfile.

Definition at line 937 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 636 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 823 of file CreateFunctionRequest.h.

◆ GetMemorySize()

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

The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 396 of file CreateFunctionRequest.h.

◆ GetPackageType()

const PackageType& Aws::Lambda::Model::CreateFunctionRequest::GetPackageType ( ) const
inline

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

Definition at line 506 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 423 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 183 of file CreateFunctionRequest.h.

◆ GetRuntime()

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

The identifier of the function's runtime.

Definition at line 147 of file CreateFunctionRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 41 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 730 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 370 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 692 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 449 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 237 of file CreateFunctionRequest.h.

◆ ImageConfigHasBeenSet()

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

Container image configuration values that override the values in the container image Dockerfile.

Definition at line 945 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 643 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 831 of file CreateFunctionRequest.h.

◆ MemorySizeHasBeenSet()

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

The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 403 of file CreateFunctionRequest.h.

◆ PackageTypeHasBeenSet()

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

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

Definition at line 512 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 428 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 188 of file CreateFunctionRequest.h.

◆ RuntimeHasBeenSet()

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

The identifier of the function's runtime.

Definition at line 153 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 307 of file CreateFunctionRequest.h.

◆ SetCode() [2/2]

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

The code for the function.

Definition at line 312 of file CreateFunctionRequest.h.

◆ SetCodeSigningConfigArn() [1/3]

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 1006 of file CreateFunctionRequest.h.

◆ SetCodeSigningConfigArn() [2/3]

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 999 of file CreateFunctionRequest.h.

◆ SetCodeSigningConfigArn() [3/3]

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 1013 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 564 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 573 of file CreateFunctionRequest.h.

◆ SetDescription() [1/3]

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

A description of the function.

Definition at line 343 of file CreateFunctionRequest.h.

◆ SetDescription() [2/3]

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

A description of the function.

Definition at line 338 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 348 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 610 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 616 of file CreateFunctionRequest.h.

◆ SetFileSystemConfigs() [1/2]

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

Connection settings for an Amazon EFS file system.

Definition at line 908 of file CreateFunctionRequest.h.

◆ SetFileSystemConfigs() [2/2]

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

Connection settings for an Amazon EFS file system.

Definition at line 903 of file CreateFunctionRequest.h.

◆ SetFunctionName() [1/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 92 of file CreateFunctionRequest.h.

◆ SetFunctionName() [2/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 80 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 104 of file CreateFunctionRequest.h.

◆ SetHandler() [1/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 255 of file CreateFunctionRequest.h.

◆ SetHandler() [2/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 246 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 264 of file CreateFunctionRequest.h.

◆ SetImageConfig() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetImageConfig ( const ImageConfig value)
inline

Container image configuration values that override the values in the container image Dockerfile.

Definition at line 953 of file CreateFunctionRequest.h.

◆ SetImageConfig() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetImageConfig ( ImageConfig &&  value)
inline

Container image configuration values that override the values in the container image Dockerfile.

Definition at line 961 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [1/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 657 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [2/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 650 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 664 of file CreateFunctionRequest.h.

◆ SetLayers() [1/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 847 of file CreateFunctionRequest.h.

◆ SetLayers() [2/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 839 of file CreateFunctionRequest.h.

◆ SetMemorySize()

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

The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 410 of file CreateFunctionRequest.h.

◆ SetPackageType() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetPackageType ( const PackageType value)
inline

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

Definition at line 518 of file CreateFunctionRequest.h.

◆ SetPackageType() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetPackageType ( PackageType &&  value)
inline

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

Definition at line 524 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 433 of file CreateFunctionRequest.h.

◆ SetRole() [1/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 198 of file CreateFunctionRequest.h.

◆ SetRole() [2/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 193 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 203 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 159 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 165 of file CreateFunctionRequest.h.

◆ SetTags() [1/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 751 of file CreateFunctionRequest.h.

◆ SetTags() [2/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 744 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 382 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 704 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 710 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 469 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 479 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 737 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 376 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 698 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 459 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 317 of file CreateFunctionRequest.h.

◆ WithCode() [2/2]

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

The code for the function.

Definition at line 322 of file CreateFunctionRequest.h.

◆ WithCodeSigningConfigArn() [1/3]

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 1027 of file CreateFunctionRequest.h.

◆ WithCodeSigningConfigArn() [2/3]

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 1020 of file CreateFunctionRequest.h.

◆ WithCodeSigningConfigArn() [3/3]

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

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.

Definition at line 1034 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 582 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 591 of file CreateFunctionRequest.h.

◆ WithDescription() [1/3]

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

A description of the function.

Definition at line 358 of file CreateFunctionRequest.h.

◆ WithDescription() [2/3]

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

A description of the function.

Definition at line 353 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 363 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 622 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 628 of file CreateFunctionRequest.h.

◆ WithFileSystemConfigs() [1/2]

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

Connection settings for an Amazon EFS file system.

Definition at line 918 of file CreateFunctionRequest.h.

◆ WithFileSystemConfigs() [2/2]

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

Connection settings for an Amazon EFS file system.

Definition at line 913 of file CreateFunctionRequest.h.

◆ WithFunctionName() [1/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 128 of file CreateFunctionRequest.h.

◆ WithFunctionName() [2/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 116 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 140 of file CreateFunctionRequest.h.

◆ WithHandler() [1/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 282 of file CreateFunctionRequest.h.

◆ WithHandler() [2/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 273 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 291 of file CreateFunctionRequest.h.

◆ WithImageConfig() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithImageConfig ( const ImageConfig value)
inline

Container image configuration values that override the values in the container image Dockerfile.

Definition at line 969 of file CreateFunctionRequest.h.

◆ WithImageConfig() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithImageConfig ( ImageConfig &&  value)
inline

Container image configuration values that override the values in the container image Dockerfile.

Definition at line 977 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [1/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 678 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [2/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 671 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 685 of file CreateFunctionRequest.h.

◆ WithLayers() [1/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 863 of file CreateFunctionRequest.h.

◆ WithLayers() [2/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 855 of file CreateFunctionRequest.h.

◆ WithMemorySize()

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

The amount of memory available to the function at runtime. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 417 of file CreateFunctionRequest.h.

◆ WithPackageType() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithPackageType ( const PackageType value)
inline

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

Definition at line 530 of file CreateFunctionRequest.h.

◆ WithPackageType() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithPackageType ( PackageType &&  value)
inline

The type of deployment package. Set to Image for container image and set Zip for ZIP archive.

Definition at line 536 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 438 of file CreateFunctionRequest.h.

◆ WithRole() [1/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 213 of file CreateFunctionRequest.h.

◆ WithRole() [2/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 208 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 218 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 171 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 177 of file CreateFunctionRequest.h.

◆ WithTags() [1/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 765 of file CreateFunctionRequest.h.

◆ WithTags() [2/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 758 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 388 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 716 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 722 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 489 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 499 of file CreateFunctionRequest.h.


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