RustFunction.Builder |
RustFunction.Builder.adotInstrumentation(software.amazon.awscdk.services.lambda.AdotInstrumentationConfig adotInstrumentation) |
Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.
|
RustFunction.Builder |
RustFunction.Builder.allowAllOutbound(Boolean allowAllOutbound) |
Whether to allow the Lambda to send all network traffic.
|
RustFunction.Builder |
RustFunction.Builder.allowPublicSubnet(Boolean allowPublicSubnet) |
Lambda Functions in a public subnet can NOT access the internet.
|
RustFunction.Builder |
RustFunction.Builder.applicationLogLevel(String applicationLogLevel) |
Sets the application log level for the function.
|
RustFunction.Builder |
RustFunction.Builder.architecture(software.amazon.awscdk.services.lambda.Architecture architecture) |
The system architectures compatible with this lambda function.
|
RustFunction.Builder |
RustFunction.Builder.binaryName(String binaryName) |
(experimental) The name of the binary to build, in case that it's different that the package's name.
|
RustFunction.Builder |
RustFunction.Builder.bundling(BundlingOptions bundling) |
(experimental) Bundling options.
|
RustFunction.Builder |
RustFunction.Builder.codeSigningConfig(software.amazon.awscdk.services.lambda.ICodeSigningConfig codeSigningConfig) |
Code signing config associated with this function.
|
static RustFunction.Builder |
RustFunction.Builder.create(software.constructs.Construct scope,
String id) |
|
RustFunction.Builder |
RustFunction.Builder.currentVersionOptions(software.amazon.awscdk.services.lambda.VersionOptions currentVersionOptions) |
Options for the lambda.Version resource automatically created by the fn.currentVersion method.
|
RustFunction.Builder |
RustFunction.Builder.deadLetterQueue(software.amazon.awscdk.services.sqs.IQueue deadLetterQueue) |
The SQS queue to use if DLQ is enabled.
|
RustFunction.Builder |
RustFunction.Builder.deadLetterQueueEnabled(Boolean deadLetterQueueEnabled) |
Enabled DLQ.
|
RustFunction.Builder |
RustFunction.Builder.deadLetterTopic(software.amazon.awscdk.services.sns.ITopic deadLetterTopic) |
The SNS topic to use as a DLQ.
|
RustFunction.Builder |
RustFunction.Builder.description(String description) |
A description of the function.
|
RustFunction.Builder |
RustFunction.Builder.entry(String entry) |
(experimental) Path to the entry Cargo.toml file.
|
RustFunction.Builder |
RustFunction.Builder.environment(Map<String,String> environment) |
Key-value pairs that Lambda caches and makes available for your Lambda functions.
|
RustFunction.Builder |
RustFunction.Builder.environmentEncryption(software.amazon.awscdk.services.kms.IKey environmentEncryption) |
The AWS KMS key that's used to encrypt your function's environment variables.
|
RustFunction.Builder |
RustFunction.Builder.ephemeralStorageSize(software.amazon.awscdk.Size ephemeralStorageSize) |
The size of the function’s /tmp directory in MiB.
|
RustFunction.Builder |
RustFunction.Builder.events(List<? extends software.amazon.awscdk.services.lambda.IEventSource> events) |
Event sources for this function.
|
RustFunction.Builder |
RustFunction.Builder.filesystem(software.amazon.awscdk.services.lambda.FileSystem filesystem) |
The filesystem configuration for the lambda function.
|
RustFunction.Builder |
RustFunction.Builder.functionName(String functionName) |
A name for the function.
|
RustFunction.Builder |
RustFunction.Builder.initialPolicy(List<? extends software.amazon.awscdk.services.iam.PolicyStatement> initialPolicy) |
Initial policy statements to add to the created Lambda Role.
|
RustFunction.Builder |
RustFunction.Builder.insightsVersion(software.amazon.awscdk.services.lambda.LambdaInsightsVersion insightsVersion) |
Specify the version of CloudWatch Lambda insights to use for monitoring.
|
RustFunction.Builder |
RustFunction.Builder.layers(List<? extends software.amazon.awscdk.services.lambda.ILayerVersion> layers) |
A list of layers to add to the function's execution environment.
|
RustFunction.Builder |
RustFunction.Builder.logFormat(String logFormat) |
Sets the logFormat for the function.
|
RustFunction.Builder |
RustFunction.Builder.logGroup(software.amazon.awscdk.services.logs.ILogGroup logGroup) |
Sets the log group name for the function.
|
RustFunction.Builder |
RustFunction.Builder.logRetention(software.amazon.awscdk.services.logs.RetentionDays logRetention) |
The number of days log events are kept in CloudWatch Logs.
|
RustFunction.Builder |
RustFunction.Builder.logRetentionRetryOptions(software.amazon.awscdk.services.lambda.LogRetentionRetryOptions logRetentionRetryOptions) |
When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
RustFunction.Builder |
RustFunction.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.
|
RustFunction.Builder |
RustFunction.Builder.maxEventAge(software.amazon.awscdk.Duration maxEventAge) |
The maximum age of a request that Lambda sends to a function for processing.
|
RustFunction.Builder |
RustFunction.Builder.memorySize(Number memorySize) |
The amount of memory, in MB, that is allocated to your Lambda function.
|
RustFunction.Builder |
RustFunction.Builder.onFailure(software.amazon.awscdk.services.lambda.IDestination onFailure) |
The destination for failed invocations.
|
RustFunction.Builder |
RustFunction.Builder.onSuccess(software.amazon.awscdk.services.lambda.IDestination onSuccess) |
The destination for successful invocations.
|
RustFunction.Builder |
RustFunction.Builder.paramsAndSecrets(software.amazon.awscdk.services.lambda.ParamsAndSecretsLayerVersion paramsAndSecrets) |
Specify the configuration of Parameters and Secrets Extension.
|
RustFunction.Builder |
RustFunction.Builder.profiling(Boolean profiling) |
Enable profiling.
|
RustFunction.Builder |
RustFunction.Builder.profilingGroup(software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup profilingGroup) |
Profiling Group.
|
RustFunction.Builder |
RustFunction.Builder.projectRoot(String projectRoot) |
(experimental) The path to the directory containing project Manifest file.
|
RustFunction.Builder |
RustFunction.Builder.reservedConcurrentExecutions(Number reservedConcurrentExecutions) |
The maximum of concurrent executions you want to reserve for the function.
|
RustFunction.Builder |
RustFunction.Builder.retryAttempts(Number retryAttempts) |
The maximum number of times to retry when the function returns an error.
|
RustFunction.Builder |
RustFunction.Builder.role(software.amazon.awscdk.services.iam.IRole role) |
Lambda execution role.
|
RustFunction.Builder |
RustFunction.Builder.runtime(software.amazon.awscdk.services.lambda.Runtime runtime) |
(experimental) The runtime environment.
|
RustFunction.Builder |
RustFunction.Builder.runtimeManagementMode(software.amazon.awscdk.services.lambda.RuntimeManagementMode runtimeManagementMode) |
Sets the runtime management configuration for a function's version.
|
RustFunction.Builder |
RustFunction.Builder.securityGroups(List<? extends software.amazon.awscdk.services.ec2.ISecurityGroup> securityGroups) |
The list of security groups to associate with the Lambda's network interfaces.
|
RustFunction.Builder |
RustFunction.Builder.snapStart(software.amazon.awscdk.services.lambda.SnapStartConf snapStart) |
Enable SnapStart for Lambda Function.
|
RustFunction.Builder |
RustFunction.Builder.systemLogLevel(String systemLogLevel) |
Sets the system log level for the function.
|
RustFunction.Builder |
RustFunction.Builder.timeout(software.amazon.awscdk.Duration timeout) |
The function execution time (in seconds) after which Lambda terminates the function.
|
RustFunction.Builder |
RustFunction.Builder.tracing(software.amazon.awscdk.services.lambda.Tracing tracing) |
Enable AWS X-Ray Tracing for Lambda Function.
|
RustFunction.Builder |
RustFunction.Builder.vpc(software.amazon.awscdk.services.ec2.IVpc vpc) |
VPC network to place Lambda network interfaces.
|
RustFunction.Builder |
RustFunction.Builder.vpcSubnets(software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets) |
Where to place the network interfaces within the VPC.
|