CmdID

CmdID / aws / aws lambda

aws lambda create-function

Creates a Lambda Event Function. AWS CLI reference

28 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

28 in the AWS CLI reference
Show its 28 options
--architecturesThe instruction set architecture that the function supports.
--capacity-provider-configConfiguration for the capacity provider that manages compute resources for Lambda functions.
--code-signing-config-arnTo enable code signing for this function, specify the ARN of a code-signing configuration.
--codeThe code for the function.
--dead-letter-configA dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing.
--descriptionA description of the function.
--durable-configConfiguration settings for durable functions.
--environmentEnvironment variables that are accessible from function code during execution.
--ephemeral-storageThe size of the function's /tmp directory in MB.
--file-system-configsConnection settings for an Amazon EFS file system or an Amazon S3 Files file system.
--function-nameThe name or ARN of the Lambda function.
--handlerThe name of the method within your code that Lambda calls to run your function.
--image-configContainer image configuration values that override the values in the container image Dockerfile.
--kms-key-arnThe ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources: The function's environment variables.
--layersA list of function layers to add to the function's execution environment.
--logging-configThe function's Amazon CloudWatch Logs configuration settings.
--memory-sizeThe amount of memory available to the function at runtime.
--package-typeThe type of deployment package.
--publish-toSpecifies where to publish the function version or configuration.
--publishSet to true to publish the first version of the function during creation.
--roleThe Amazon Resource Name (ARN) of the function's execution role.
--runtimeThe identifier of the function's runtime.
--snap-startThe function's SnapStart setting.
--tagsA list of tags to apply to the function.
--tenancy-configConfiguration for multi-tenant applications that use Lambda functions.
--timeoutThe amount of time (in seconds) that Lambda allows a function to run before stopping it.
--tracing-configSet Mode to Active to sample and trace a subset of incoming requests with X-Ray.
--vpc-configFor network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC.