| Modifier and Type | Method and Description |
|---|---|
SingletonFunction.Builder |
SingletonFunction.Builder.allowAllOutbound(Boolean allowAllOutbound)
Whether to allow the Lambda to send all network traffic.
|
SingletonFunction.Builder |
SingletonFunction.Builder.allowPublicSubnet(Boolean allowPublicSubnet)
Lambda Functions in a public subnet can NOT access the internet.
|
SingletonFunction.Builder |
SingletonFunction.Builder.architecture(Architecture architecture)
The system architectures compatible with this lambda function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.architectures(List<? extends Architecture> architectures)
Deprecated.
use `architecture`
|
SingletonFunction.Builder |
SingletonFunction.Builder.code(Code code)
The source code of your Lambda function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.codeSigningConfig(ICodeSigningConfig codeSigningConfig)
Code signing config associated with this function.
|
static SingletonFunction.Builder |
SingletonFunction.Builder.create(software.constructs.Construct scope,
String id) |
SingletonFunction.Builder |
SingletonFunction.Builder.currentVersionOptions(VersionOptions currentVersionOptions)
Options for the `lambda.Version` resource automatically created by the `fn.currentVersion` method.
|
SingletonFunction.Builder |
SingletonFunction.Builder.deadLetterQueue(IQueue deadLetterQueue)
The SQS queue to use if DLQ is enabled.
|
SingletonFunction.Builder |
SingletonFunction.Builder.deadLetterQueueEnabled(Boolean deadLetterQueueEnabled)
Enabled DLQ.
|
SingletonFunction.Builder |
SingletonFunction.Builder.deadLetterTopic(ITopic deadLetterTopic)
The SNS topic to use as a DLQ.
|
SingletonFunction.Builder |
SingletonFunction.Builder.description(String description)
A description of the function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.environment(Map<String,String> environment)
Key-value pairs that Lambda caches and makes available for your Lambda functions.
|
SingletonFunction.Builder |
SingletonFunction.Builder.environmentEncryption(IKey environmentEncryption)
The AWS KMS key that's used to encrypt your function's environment variables.
|
SingletonFunction.Builder |
SingletonFunction.Builder.ephemeralStorageSize(Size ephemeralStorageSize)
The size of the function’s /tmp directory in MiB.
|
SingletonFunction.Builder |
SingletonFunction.Builder.events(List<? extends IEventSource> events)
Event sources for this function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.filesystem(FileSystem filesystem)
The filesystem configuration for the lambda function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.functionName(String functionName)
A name for the function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.handler(String handler)
The name of the method within your code that Lambda calls to execute your function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.initialPolicy(List<? extends PolicyStatement> initialPolicy)
Initial policy statements to add to the created Lambda Role.
|
SingletonFunction.Builder |
SingletonFunction.Builder.insightsVersion(LambdaInsightsVersion insightsVersion)
Specify the version of CloudWatch Lambda insights to use for monitoring.
|
SingletonFunction.Builder |
SingletonFunction.Builder.lambdaPurpose(String lambdaPurpose)
A descriptive name for the purpose of this Lambda.
|
SingletonFunction.Builder |
SingletonFunction.Builder.layers(List<? extends ILayerVersion> layers)
A list of layers to add to the function's execution environment.
|
SingletonFunction.Builder |
SingletonFunction.Builder.logRetention(RetentionDays logRetention)
The number of days log events are kept in CloudWatch Logs.
|
SingletonFunction.Builder |
SingletonFunction.Builder.logRetentionRetryOptions(LogRetentionRetryOptions logRetentionRetryOptions)
When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
SingletonFunction.Builder |
SingletonFunction.Builder.logRetentionRole(IRole logRetentionRole)
The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
SingletonFunction.Builder |
SingletonFunction.Builder.maxEventAge(Duration maxEventAge)
The maximum age of a request that Lambda sends to a function for processing.
|
SingletonFunction.Builder |
SingletonFunction.Builder.memorySize(Number memorySize)
The amount of memory, in MB, that is allocated to your Lambda function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.onFailure(IDestination onFailure)
The destination for failed invocations.
|
SingletonFunction.Builder |
SingletonFunction.Builder.onSuccess(IDestination onSuccess)
The destination for successful invocations.
|
SingletonFunction.Builder |
SingletonFunction.Builder.profiling(Boolean profiling)
Enable profiling.
|
SingletonFunction.Builder |
SingletonFunction.Builder.profilingGroup(IProfilingGroup profilingGroup)
Profiling Group.
|
SingletonFunction.Builder |
SingletonFunction.Builder.reservedConcurrentExecutions(Number reservedConcurrentExecutions)
The maximum of concurrent executions you want to reserve for the function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.retryAttempts(Number retryAttempts)
The maximum number of times to retry when the function returns an error.
|
SingletonFunction.Builder |
SingletonFunction.Builder.role(IRole role)
Lambda execution role.
|
SingletonFunction.Builder |
SingletonFunction.Builder.runtime(Runtime runtime)
The runtime environment for the Lambda function that you are uploading.
|
SingletonFunction.Builder |
SingletonFunction.Builder.securityGroup(ISecurityGroup securityGroup)
Deprecated.
- This property is deprecated, use securityGroups instead
|
SingletonFunction.Builder |
SingletonFunction.Builder.securityGroups(List<? extends ISecurityGroup> securityGroups)
The list of security groups to associate with the Lambda's network interfaces.
|
SingletonFunction.Builder |
SingletonFunction.Builder.timeout(Duration timeout)
The function execution time (in seconds) after which Lambda terminates the function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.tracing(Tracing tracing)
Enable AWS X-Ray Tracing for Lambda Function.
|
SingletonFunction.Builder |
SingletonFunction.Builder.uuid(String uuid)
A unique identifier to identify this lambda.
|
SingletonFunction.Builder |
SingletonFunction.Builder.vpc(IVpc vpc)
VPC network to place Lambda network interfaces.
|
SingletonFunction.Builder |
SingletonFunction.Builder.vpcSubnets(SubnetSelection vpcSubnets)
Where to place the network interfaces within the VPC.
|
Copyright © 2023. All rights reserved.