AWS SDK for C++  1.9.129
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)
 
const Aws::Vector< Architecture > & GetArchitectures () const
 
bool ArchitecturesHasBeenSet () const
 
void SetArchitectures (const Aws::Vector< Architecture > &value)
 
void SetArchitectures (Aws::Vector< Architecture > &&value)
 
CreateFunctionRequestWithArchitectures (const Aws::Vector< Architecture > &value)
 
CreateFunctionRequestWithArchitectures (Aws::Vector< Architecture > &&value)
 
CreateFunctionRequestAddArchitectures (const Architecture &value)
 
CreateFunctionRequestAddArchitectures (Architecture &&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 33 of file CreateFunctionRequest.h.

Constructor & Destructor Documentation

◆ CreateFunctionRequest()

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

Member Function Documentation

◆ AddArchitectures() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddArchitectures ( Architecture &&  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 1112 of file CreateFunctionRequest.h.

◆ AddArchitectures() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::AddArchitectures ( const Architecture value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 1105 of file CreateFunctionRequest.h.

◆ AddFileSystemConfigs() [1/2]

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

Connection settings for an Amazon EFS file system.

Definition at line 950 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 955 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 906 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 898 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 914 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 820 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 806 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 834 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 813 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 799 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 827 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 841 of file CreateFunctionRequest.h.

◆ ArchitecturesHasBeenSet()

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

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 1070 of file CreateFunctionRequest.h.

◆ CodeHasBeenSet()

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

The code for the function.

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

◆ DescriptionHasBeenSet()

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

A description of the function.

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

◆ FileSystemConfigsHasBeenSet()

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

Connection settings for an Amazon EFS file system.

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

◆ GetArchitectures()

const Aws::Vector<Architecture>& Aws::Lambda::Model::CreateFunctionRequest::GetArchitectures ( ) const
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 1063 of file CreateFunctionRequest.h.

◆ GetCode()

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

The code for the function.

Definition at line 298 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 1006 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 567 of file CreateFunctionRequest.h.

◆ GetDescription()

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

A description of the function.

Definition at line 329 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 619 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 920 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 57 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 229 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 963 of file CreateFunctionRequest.h.

◆ GetKMSKeyArn()

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

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

Definition at line 657 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 850 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 memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 411 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 527 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 444 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 184 of file CreateFunctionRequest.h.

◆ GetRuntime()

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

The identifier of the function's runtime.

Definition at line 148 of file CreateFunctionRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 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 757 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. For additional information, see Lambda execution environment.

Definition at line 374 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 X-Ray.

Definition at line 714 of file CreateFunctionRequest.h.

◆ GetVpcConfig()

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

For network connectivity to Amazon Web Services 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 470 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 238 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 970 of file CreateFunctionRequest.h.

◆ KMSKeyArnHasBeenSet()

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

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

Definition at line 664 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 858 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 memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 420 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 533 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 449 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 189 of file CreateFunctionRequest.h.

◆ RuntimeHasBeenSet()

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

The identifier of the function's runtime.

Definition at line 154 of file CreateFunctionRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetArchitectures() [1/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetArchitectures ( Aws::Vector< Architecture > &&  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 1084 of file CreateFunctionRequest.h.

◆ SetArchitectures() [2/2]

void Aws::Lambda::Model::CreateFunctionRequest::SetArchitectures ( const Aws::Vector< Architecture > &  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 1077 of file CreateFunctionRequest.h.

◆ SetCode() [1/2]

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

The code for the function.

Definition at line 308 of file CreateFunctionRequest.h.

◆ SetCode() [2/2]

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

The code for the function.

Definition at line 313 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 1027 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 1020 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 1034 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 585 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 594 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 344 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 339 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 349 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 631 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 637 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 935 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 930 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 93 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 81 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 105 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 256 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 247 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 265 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 977 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 984 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [1/3]

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

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

Definition at line 678 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [2/3]

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

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

Definition at line 671 of file CreateFunctionRequest.h.

◆ SetKMSKeyArn() [3/3]

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

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

Definition at line 685 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 874 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 866 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 memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 429 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 539 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 545 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 454 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 199 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 194 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 204 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 160 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 166 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 778 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 771 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. For additional information, see Lambda execution environment.

Definition at line 392 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 X-Ray.

Definition at line 728 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 X-Ray.

Definition at line 735 of file CreateFunctionRequest.h.

◆ SetVpcConfig() [1/2]

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

For network connectivity to Amazon Web Services 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 490 of file CreateFunctionRequest.h.

◆ SetVpcConfig() [2/2]

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

For network connectivity to Amazon Web Services 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 500 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 764 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. For additional information, see Lambda execution environment.

Definition at line 383 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 X-Ray.

Definition at line 721 of file CreateFunctionRequest.h.

◆ VpcConfigHasBeenSet()

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

For network connectivity to Amazon Web Services 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 480 of file CreateFunctionRequest.h.

◆ WithArchitectures() [1/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithArchitectures ( Aws::Vector< Architecture > &&  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 1098 of file CreateFunctionRequest.h.

◆ WithArchitectures() [2/2]

CreateFunctionRequest& Aws::Lambda::Model::CreateFunctionRequest::WithArchitectures ( const Aws::Vector< Architecture > &  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

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

◆ WithCode() [2/2]

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

The code for the function.

Definition at line 323 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 1048 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 1041 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 1055 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 603 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 612 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 359 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 354 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 364 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 643 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 649 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 945 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 940 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 129 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 117 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 141 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 283 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 274 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 292 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 991 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 998 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [1/3]

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

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

Definition at line 699 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [2/3]

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

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

Definition at line 692 of file CreateFunctionRequest.h.

◆ WithKMSKeyArn() [3/3]

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

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

Definition at line 706 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 890 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 882 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 memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

Definition at line 438 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 551 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 557 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 459 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 214 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 209 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 219 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 172 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 178 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 792 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 785 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. For additional information, see Lambda execution environment.

Definition at line 401 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 X-Ray.

Definition at line 742 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 X-Ray.

Definition at line 749 of file CreateFunctionRequest.h.

◆ WithVpcConfig() [1/2]

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

For network connectivity to Amazon Web Services 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 510 of file CreateFunctionRequest.h.

◆ WithVpcConfig() [2/2]

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

For network connectivity to Amazon Web Services 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 520 of file CreateFunctionRequest.h.


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