Uses of Class
software.amazon.awscdk.triggers.TriggerFunction.Builder
-
Uses of TriggerFunction.Builder in software.amazon.awscdk.triggers
Modifier and TypeMethodDescriptionTriggerFunction.Builder.allowAllOutbound
(Boolean allowAllOutbound) Whether to allow the Lambda to send all network traffic.TriggerFunction.Builder.allowPublicSubnet
(Boolean allowPublicSubnet) Lambda Functions in a public subnet can NOT access the internet.TriggerFunction.Builder.architecture
(Architecture architecture) The system architectures compatible with this lambda function.TriggerFunction.Builder.architectures
(List<? extends Architecture> architectures) Deprecated.The source code of your Lambda function.TriggerFunction.Builder.codeSigningConfig
(ICodeSigningConfig codeSigningConfig) Code signing config associated with this function.static TriggerFunction.Builder
TriggerFunction.Builder.currentVersionOptions
(VersionOptions currentVersionOptions) Options for thelambda.Version
resource automatically created by thefn.currentVersion
method.TriggerFunction.Builder.deadLetterQueue
(IQueue deadLetterQueue) The SQS queue to use if DLQ is enabled.TriggerFunction.Builder.deadLetterQueueEnabled
(Boolean deadLetterQueueEnabled) Enabled DLQ.TriggerFunction.Builder.deadLetterTopic
(ITopic deadLetterTopic) The SNS topic to use as a DLQ.TriggerFunction.Builder.description
(String description) A description of the function.TriggerFunction.Builder.environment
(Map<String, String> environment) Key-value pairs that Lambda caches and makes available for your Lambda functions.TriggerFunction.Builder.environmentEncryption
(IKey environmentEncryption) The AWS KMS key that's used to encrypt your function's environment variables.TriggerFunction.Builder.ephemeralStorageSize
(Size ephemeralStorageSize) The size of the function’s /tmp directory in MiB.TriggerFunction.Builder.events
(List<? extends IEventSource> events) Event sources for this function.TriggerFunction.Builder.executeAfter
(List<? extends software.constructs.Construct> executeAfter) Adds trigger dependencies.TriggerFunction.Builder.executeBefore
(List<? extends software.constructs.Construct> executeBefore) Adds this trigger as a dependency on other constructs.TriggerFunction.Builder.executeOnHandlerChange
(Boolean executeOnHandlerChange) Re-executes the trigger every time the handler changes.TriggerFunction.Builder.filesystem
(FileSystem filesystem) The filesystem configuration for the lambda function.TriggerFunction.Builder.functionName
(String functionName) A name for the function.The name of the method within your code that Lambda calls to execute your function.TriggerFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.TriggerFunction.Builder.insightsVersion
(LambdaInsightsVersion insightsVersion) Specify the version of CloudWatch Lambda insights to use for monitoring.TriggerFunction.Builder.layers
(List<? extends ILayerVersion> layers) A list of layers to add to the function's execution environment.TriggerFunction.Builder.logRetention
(RetentionDays logRetention) The number of days log events are kept in CloudWatch Logs.TriggerFunction.Builder.logRetentionRetryOptions
(LogRetentionRetryOptions logRetentionRetryOptions) When log retention is specified, a custom resource attempts to create the CloudWatch log group.TriggerFunction.Builder.logRetentionRole
(IRole logRetentionRole) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.TriggerFunction.Builder.maxEventAge
(Duration maxEventAge) The maximum age of a request that Lambda sends to a function for processing.TriggerFunction.Builder.memorySize
(Number memorySize) The amount of memory, in MB, that is allocated to your Lambda function.TriggerFunction.Builder.onFailure
(IDestination onFailure) The destination for failed invocations.TriggerFunction.Builder.onSuccess
(IDestination onSuccess) The destination for successful invocations.Enable profiling.TriggerFunction.Builder.profilingGroup
(IProfilingGroup profilingGroup) Profiling Group.TriggerFunction.Builder.reservedConcurrentExecutions
(Number reservedConcurrentExecutions) The maximum of concurrent executions you want to reserve for the function.TriggerFunction.Builder.retryAttempts
(Number retryAttempts) The maximum number of times to retry when the function returns an error.Lambda execution role.The runtime environment for the Lambda function that you are uploading.TriggerFunction.Builder.securityGroup
(ISecurityGroup securityGroup) Deprecated.This property is deprecated, use securityGroups insteadTriggerFunction.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.TriggerFunction.Builder.vpcSubnets
(SubnetSelection vpcSubnets) Where to place the network interfaces within the VPC.
architecture