Uses of Class
software.amazon.awscdk.services.cloudfront.experimental.EdgeFunction.Builder
-
Uses of EdgeFunction.Builder in software.amazon.awscdk.services.cloudfront.experimental
Modifier and TypeMethodDescriptionEdgeFunction.Builder.adotInstrumentation
(AdotInstrumentationConfig adotInstrumentation) Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.EdgeFunction.Builder.allowAllIpv6Outbound
(Boolean allowAllIpv6Outbound) Whether to allow the Lambda to send all ipv6 network traffic.EdgeFunction.Builder.allowAllOutbound
(Boolean allowAllOutbound) Whether to allow the Lambda to send all network traffic (except ipv6).EdgeFunction.Builder.allowPublicSubnet
(Boolean allowPublicSubnet) Lambda Functions in a public subnet can NOT access the internet.EdgeFunction.Builder.applicationLogLevel
(String applicationLogLevel) Deprecated.EdgeFunction.Builder.applicationLogLevelV2
(ApplicationLogLevel applicationLogLevelV2) Sets the application log level for the function.EdgeFunction.Builder.architecture
(Architecture architecture) The system architectures compatible with this lambda function.The source code of your Lambda function.EdgeFunction.Builder.codeSigningConfig
(ICodeSigningConfig codeSigningConfig) Code signing config associated with this function.static EdgeFunction.Builder
EdgeFunction.Builder.currentVersionOptions
(VersionOptions currentVersionOptions) Options for thelambda.Version
resource automatically created by thefn.currentVersion
method.EdgeFunction.Builder.deadLetterQueue
(IQueue deadLetterQueue) The SQS queue to use if DLQ is enabled.EdgeFunction.Builder.deadLetterQueueEnabled
(Boolean deadLetterQueueEnabled) Enabled DLQ.EdgeFunction.Builder.deadLetterTopic
(ITopic deadLetterTopic) The SNS topic to use as a DLQ.EdgeFunction.Builder.description
(String description) A description of the function.EdgeFunction.Builder.environment
(Map<String, String> environment) Key-value pairs that Lambda caches and makes available for your Lambda functions.EdgeFunction.Builder.environmentEncryption
(IKey environmentEncryption) The AWS KMS key that's used to encrypt your function's environment variables.EdgeFunction.Builder.ephemeralStorageSize
(Size ephemeralStorageSize) The size of the function’s /tmp directory in MiB.EdgeFunction.Builder.events
(List<? extends IEventSource> events) Event sources for this function.EdgeFunction.Builder.filesystem
(FileSystem filesystem) The filesystem configuration for the lambda function.EdgeFunction.Builder.functionName
(String functionName) A name for the function.The name of the method within your code that Lambda calls to execute your function.EdgeFunction.Builder.initialPolicy
(List<? extends PolicyStatement> initialPolicy) Initial policy statements to add to the created Lambda Role.EdgeFunction.Builder.insightsVersion
(LambdaInsightsVersion insightsVersion) Specify the version of CloudWatch Lambda insights to use for monitoring.EdgeFunction.Builder.ipv6AllowedForDualStack
(Boolean ipv6AllowedForDualStack) Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.EdgeFunction.Builder.layers
(List<? extends ILayerVersion> layers) A list of layers to add to the function's execution environment.Deprecated.UseloggingFormat
as a property instead.EdgeFunction.Builder.loggingFormat
(LoggingFormat loggingFormat) Sets the loggingFormat for the function.The log group the function sends logs to.EdgeFunction.Builder.logRetention
(RetentionDays logRetention) The number of days log events are kept in CloudWatch Logs.EdgeFunction.Builder.logRetentionRetryOptions
(LogRetentionRetryOptions logRetentionRetryOptions) When log retention is specified, a custom resource attempts to create the CloudWatch log group.EdgeFunction.Builder.logRetentionRole
(IRole logRetentionRole) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.EdgeFunction.Builder.maxEventAge
(Duration maxEventAge) The maximum age of a request that Lambda sends to a function for processing.EdgeFunction.Builder.memorySize
(Number memorySize) The amount of memory, in MB, that is allocated to your Lambda function.EdgeFunction.Builder.onFailure
(IDestination onFailure) The destination for failed invocations.EdgeFunction.Builder.onSuccess
(IDestination onSuccess) The destination for successful invocations.EdgeFunction.Builder.paramsAndSecrets
(ParamsAndSecretsLayerVersion paramsAndSecrets) Specify the configuration of Parameters and Secrets Extension.Enable profiling.EdgeFunction.Builder.profilingGroup
(IProfilingGroup profilingGroup) Profiling Group.EdgeFunction.Builder.recursiveLoop
(RecursiveLoop recursiveLoop) Sets the Recursive Loop Protection for Lambda Function.EdgeFunction.Builder.reservedConcurrentExecutions
(Number reservedConcurrentExecutions) The maximum of concurrent executions you want to reserve for the function.EdgeFunction.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.EdgeFunction.Builder.runtimeManagementMode
(RuntimeManagementMode runtimeManagementMode) Sets the runtime management configuration for a function's version.EdgeFunction.Builder.securityGroups
(List<? extends ISecurityGroup> securityGroups) The list of security groups to associate with the Lambda's network interfaces.EdgeFunction.Builder.snapStart
(SnapStartConf snapStart) Enable SnapStart for Lambda Function.The stack ID of Lambda@Edge function.EdgeFunction.Builder.systemLogLevel
(String systemLogLevel) Deprecated.UsesystemLogLevelV2
as a property instead.EdgeFunction.Builder.systemLogLevelV2
(SystemLogLevel systemLogLevelV2) Sets the system log level for the function.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.EdgeFunction.Builder.vpcSubnets
(SubnetSelection vpcSubnets) Where to place the network interfaces within the VPC.
applicationLogLevelV2
as a property instead.