Uses of Class
software.amazon.awscdk.services.lambda.go.GoFunction.Builder
-
Uses of GoFunction.Builder in software.amazon.awscdk.services.lambda.go
Modifier and TypeMethodDescriptionGoFunction.Builder.allowAllOutbound
(Boolean allowAllOutbound) Whether to allow the Lambda to send all network traffic.GoFunction.Builder.allowPublicSubnet
(Boolean allowPublicSubnet) Lambda Functions in a public subnet can NOT access the internet.GoFunction.Builder.architecture
(Architecture architecture) The system architectures compatible with this lambda function.GoFunction.Builder.architectures
(List<? extends Architecture> architectures) Deprecated.GoFunction.Builder.bundling
(BundlingOptions bundling) (experimental) Bundling options.GoFunction.Builder.codeSigningConfig
(ICodeSigningConfig codeSigningConfig) Code signing config associated with this function.static GoFunction.Builder
GoFunction.Builder.currentVersionOptions
(VersionOptions currentVersionOptions) Options for thelambda.Version
resource automatically created by thefn.currentVersion
method.GoFunction.Builder.deadLetterQueue
(IQueue deadLetterQueue) The SQS queue to use if DLQ is enabled.GoFunction.Builder.deadLetterQueueEnabled
(Boolean deadLetterQueueEnabled) Enabled DLQ.GoFunction.Builder.deadLetterTopic
(ITopic deadLetterTopic) The SNS topic to use as a DLQ.GoFunction.Builder.description
(String description) A description of the function.(experimental) The path to the folder or file that contains the main application entry point files for the project.GoFunction.Builder.environment
(Map<String, String> environment) Key-value pairs that Lambda caches and makes available for your Lambda functions.GoFunction.Builder.environmentEncryption
(IKey environmentEncryption) The AWS KMS key that's used to encrypt your function's environment variables.GoFunction.Builder.ephemeralStorageSize
(Size ephemeralStorageSize) The size of the function’s /tmp directory in MiB.GoFunction.Builder.events
(List<? extends IEventSource> events) Event sources for this function.GoFunction.Builder.filesystem
(FileSystem filesystem) The filesystem configuration for the lambda function.GoFunction.Builder.functionName
(String functionName) A name for the function.GoFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.GoFunction.Builder.insightsVersion
(LambdaInsightsVersion insightsVersion) Specify the version of CloudWatch Lambda insights to use for monitoring.GoFunction.Builder.layers
(List<? extends ILayerVersion> layers) A list of layers to add to the function's execution environment.GoFunction.Builder.logRetention
(RetentionDays logRetention) The number of days log events are kept in CloudWatch Logs.GoFunction.Builder.logRetentionRetryOptions
(LogRetentionRetryOptions logRetentionRetryOptions) When log retention is specified, a custom resource attempts to create the CloudWatch log group.GoFunction.Builder.logRetentionRole
(IRole logRetentionRole) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.GoFunction.Builder.maxEventAge
(Duration maxEventAge) The maximum age of a request that Lambda sends to a function for processing.GoFunction.Builder.memorySize
(Number memorySize) The amount of memory, in MB, that is allocated to your Lambda function.(experimental) Directory containing your go.mod file.GoFunction.Builder.onFailure
(IDestination onFailure) The destination for failed invocations.GoFunction.Builder.onSuccess
(IDestination onSuccess) The destination for successful invocations.Enable profiling.GoFunction.Builder.profilingGroup
(IProfilingGroup profilingGroup) Profiling Group.GoFunction.Builder.reservedConcurrentExecutions
(Number reservedConcurrentExecutions) The maximum of concurrent executions you want to reserve for the function.GoFunction.Builder.retryAttempts
(Number retryAttempts) The maximum number of times to retry when the function returns an error.Lambda execution role.(experimental) The runtime environment.GoFunction.Builder.securityGroup
(ISecurityGroup securityGroup) Deprecated.This property is deprecated, use securityGroups insteadGoFunction.Builder.securityGroups
(List<? extends ISecurityGroup> securityGroups) The list of security groups to associate with the Lambda's network interfaces.The function execution time (in seconds) after which Lambda terminates the function.Enable AWS X-Ray Tracing for Lambda Function.VPC network to place Lambda network interfaces.GoFunction.Builder.vpcSubnets
(SubnetSelection vpcSubnets) Where to place the network interfaces within the VPC.
architecture