| Package | Description |
|---|---|
| software.amazon.awscdk.services.lambda |
AWS Lambda Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
CfnFunction.Builder |
CfnFunction.Builder.architectures(List<String> architectures)
The instruction set architecture that the function supports.
|
CfnFunction.Builder |
CfnFunction.Builder.code(CfnFunction.CodeProperty code)
The code for the function.
|
CfnFunction.Builder |
CfnFunction.Builder.code(IResolvable code)
The code for the function.
|
CfnFunction.Builder |
CfnFunction.Builder.codeSigningConfigArn(String codeSigningConfigArn)
To enable code signing for this function, specify the ARN of a code-signing configuration.
|
static CfnFunction.Builder |
CfnFunction.Builder.create(software.constructs.Construct scope,
String id) |
CfnFunction.Builder |
CfnFunction.Builder.deadLetterConfig(CfnFunction.DeadLetterConfigProperty deadLetterConfig)
A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing.
|
CfnFunction.Builder |
CfnFunction.Builder.deadLetterConfig(IResolvable deadLetterConfig)
A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing.
|
CfnFunction.Builder |
CfnFunction.Builder.description(String description)
A description of the function.
|
CfnFunction.Builder |
CfnFunction.Builder.environment(CfnFunction.EnvironmentProperty environment)
Environment variables that are accessible from function code during execution.
|
CfnFunction.Builder |
CfnFunction.Builder.environment(IResolvable environment)
Environment variables that are accessible from function code during execution.
|
CfnFunction.Builder |
CfnFunction.Builder.ephemeralStorage(CfnFunction.EphemeralStorageProperty ephemeralStorage)
The size of the function’s /tmp directory in MB.
|
CfnFunction.Builder |
CfnFunction.Builder.ephemeralStorage(IResolvable ephemeralStorage)
The size of the function’s /tmp directory in MB.
|
CfnFunction.Builder |
CfnFunction.Builder.fileSystemConfigs(IResolvable fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
CfnFunction.Builder |
CfnFunction.Builder.fileSystemConfigs(List<? extends Object> fileSystemConfigs)
Connection settings for an Amazon EFS file system.
|
CfnFunction.Builder |
CfnFunction.Builder.functionName(String functionName)
The name of the Lambda function, up to 64 characters in length.
|
CfnFunction.Builder |
CfnFunction.Builder.handler(String handler)
The name of the method within your code that Lambda calls to execute your function.
|
CfnFunction.Builder |
CfnFunction.Builder.imageConfig(CfnFunction.ImageConfigProperty imageConfig)
Configuration values that override the container image Dockerfile settings.
|
CfnFunction.Builder |
CfnFunction.Builder.imageConfig(IResolvable imageConfig)
Configuration values that override the container image Dockerfile settings.
|
CfnFunction.Builder |
CfnFunction.Builder.kmsKeyArn(String kmsKeyArn)
The ARN of the AWS Key Management Service ( AWS KMS ) key that's used to encrypt your function's environment variables.
|
CfnFunction.Builder |
CfnFunction.Builder.layers(List<String> layers)
A list of [function layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) to add to the function's execution environment.
|
CfnFunction.Builder |
CfnFunction.Builder.memorySize(Number memorySize)
The amount of [memory available to the function](https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) at runtime.
|
CfnFunction.Builder |
CfnFunction.Builder.packageType(String packageType)
The type of deployment package.
|
CfnFunction.Builder |
CfnFunction.Builder.reservedConcurrentExecutions(Number reservedConcurrentExecutions)
The number of simultaneous executions to reserve for the function.
|
CfnFunction.Builder |
CfnFunction.Builder.role(String role)
The Amazon Resource Name (ARN) of the function's execution role.
|
CfnFunction.Builder |
CfnFunction.Builder.runtime(String runtime)
The identifier of the function's [runtime](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) .
|
CfnFunction.Builder |
CfnFunction.Builder.tags(List<? extends CfnTag> tags)
A list of [tags](https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to apply to the function.
|
CfnFunction.Builder |
CfnFunction.Builder.timeout(Number timeout)
The amount of time (in seconds) that Lambda allows a function to run before stopping it.
|
CfnFunction.Builder |
CfnFunction.Builder.tracingConfig(CfnFunction.TracingConfigProperty tracingConfig)
Set `Mode` to `Active` to sample and trace a subset of incoming requests with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) .
|
CfnFunction.Builder |
CfnFunction.Builder.tracingConfig(IResolvable tracingConfig)
Set `Mode` to `Active` to sample and trace a subset of incoming requests with [X-Ray](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) .
|
CfnFunction.Builder |
CfnFunction.Builder.vpcConfig(CfnFunction.VpcConfigProperty vpcConfig)
For network connectivity to AWS resources in a [VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-network.html) , specify a list of security groups and subnets in the VPC.
|
CfnFunction.Builder |
CfnFunction.Builder.vpcConfig(IResolvable vpcConfig)
For network connectivity to AWS resources in a [VPC](https://docs.aws.amazon.com/lambda/latest/dg/configuration-network.html) , specify a list of security groups and subnets in the VPC.
|
Copyright © 2022. All rights reserved.