Whether to allow the Lambda to send all network traffic.
Lambda Functions in a public subnet can NOT access the internet.
PythonFunction.Builder.architecture(software.amazon.awscdk.services.lambda.Architecture architecture)
The system architectures compatible with this lambda function.
PythonFunction.Builder.architectures(List<? extends software.amazon.awscdk.services.lambda.Architecture> architectures)
(experimental) Bundling options to use for this function.
PythonFunction.Builder.codeSigningConfig(software.amazon.awscdk.services.lambda.ICodeSigningConfig codeSigningConfig)
Code signing config associated with this function.
PythonFunction.Builder.create(software.amazon.awscdk.core.Construct scope,
String id)
PythonFunction.Builder.currentVersionOptions(software.amazon.awscdk.services.lambda.VersionOptions currentVersionOptions)
Options for the `lambda.Version` resource automatically created by the `fn.currentVersion` method.
PythonFunction.Builder.deadLetterQueue(software.amazon.awscdk.services.sqs.IQueue deadLetterQueue)
The SQS queue to use if DLQ is enabled.
PythonFunction.Builder.deadLetterTopic(software.amazon.awscdk.services.sns.ITopic deadLetterTopic)
The SNS topic to use as a DLQ.
A description of the function.
(experimental) Path to the source of the function or the location for dependencies.
Key-value pairs that Lambda caches and makes available for your Lambda functions.
PythonFunction.Builder.environmentEncryption(software.amazon.awscdk.services.kms.IKey environmentEncryption)
The AWS KMS key that's used to encrypt your function's environment variables.
The size of the function’s /tmp directory in MiB.
PythonFunction.Builder.events(List<? extends software.amazon.awscdk.services.lambda.IEventSource> events)
Event sources for this function.
PythonFunction.Builder.filesystem(software.amazon.awscdk.services.lambda.FileSystem filesystem)
The filesystem configuration for the lambda function.
(experimental) The name of the exported handler in the index file.
(experimental) The path (relative to entry) to the index file containing the exported handler.
PythonFunction.Builder.initialPolicy(List<? extends software.amazon.awscdk.services.iam.PolicyStatement> initialPolicy)
Initial policy statements to add to the created Lambda Role.
PythonFunction.Builder.insightsVersion(software.amazon.awscdk.services.lambda.LambdaInsightsVersion insightsVersion)
Specify the version of CloudWatch Lambda insights to use for monitoring.
PythonFunction.Builder.layers(List<? extends software.amazon.awscdk.services.lambda.ILayerVersion> layers)
A list of layers to add to the function's execution environment.
PythonFunction.Builder.logRetention(software.amazon.awscdk.services.logs.RetentionDays logRetention)
The number of days log events are kept in CloudWatch Logs.
PythonFunction.Builder.logRetentionRetryOptions(software.amazon.awscdk.services.lambda.LogRetentionRetryOptions logRetentionRetryOptions)
When log retention is specified, a custom resource attempts to create the CloudWatch log group.
PythonFunction.Builder.logRetentionRole(software.amazon.awscdk.services.iam.IRole logRetentionRole)
The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
PythonFunction.Builder.maxEventAge(software.amazon.awscdk.core.Duration maxEventAge)
The maximum age of a request that Lambda sends to a function for processing.
The amount of memory, in MB, that is allocated to your Lambda function.
PythonFunction.Builder.onFailure(software.amazon.awscdk.services.lambda.IDestination onFailure)
The destination for failed invocations.
PythonFunction.Builder.onSuccess(software.amazon.awscdk.services.lambda.IDestination onSuccess)
The destination for successful invocations.
PythonFunction.Builder.profilingGroup(software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup profilingGroup)
The maximum of concurrent executions you want to reserve for the function.
The maximum number of times to retry when the function returns an error.
PythonFunction.Builder.role(software.amazon.awscdk.services.iam.IRole role)
PythonFunction.Builder.runtime(software.amazon.awscdk.services.lambda.Runtime runtime)
(experimental) The runtime environment.
The list of security groups to associate with the Lambda's network interfaces.
PythonFunction.Builder.timeout(software.amazon.awscdk.core.Duration timeout)
The function execution time (in seconds) after which Lambda terminates the function.
PythonFunction.Builder.tracing(software.amazon.awscdk.services.lambda.Tracing tracing)
Enable AWS X-Ray Tracing for Lambda Function.
PythonFunction.Builder.vpc(IVpc vpc)
VPC network to place Lambda network interfaces.
Where to place the network interfaces within the VPC.