CopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
, SdkBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
public static interface FunctionConfiguration.Builder extends CopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
Modifier and Type | Method | Description |
---|---|---|
FunctionConfiguration.Builder |
codeSha256(String codeSha256) |
It is the SHA256 hash of your function deployment package.
|
FunctionConfiguration.Builder |
codeSize(Long codeSize) |
The size, in bytes, of the function .zip file you uploaded.
|
FunctionConfiguration.Builder |
deadLetterConfig(DeadLetterConfig deadLetterConfig) |
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS
topic.
|
FunctionConfiguration.Builder |
description(String description) |
The user-provided description.
|
FunctionConfiguration.Builder |
environment(EnvironmentResponse environment) |
The parent object that contains your environment's configuration settings.
|
FunctionConfiguration.Builder |
functionArn(String functionArn) |
The Amazon Resource Name (ARN) assigned to the function.
|
FunctionConfiguration.Builder |
functionName(String functionName) |
The name of the function.
|
FunctionConfiguration.Builder |
handler(String handler) |
The function Lambda calls to begin executing your function.
|
FunctionConfiguration.Builder |
kmsKeyArn(String kmsKeyArn) |
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
FunctionConfiguration.Builder |
lastModified(String lastModified) |
The time stamp of the last time you updated the function.
|
FunctionConfiguration.Builder |
memorySize(Integer memorySize) |
The memory size, in MB, you configured for the function.
|
FunctionConfiguration.Builder |
role(String role) |
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access
any other Amazon Web Services (AWS) resources.
|
FunctionConfiguration.Builder |
runtime(String runtime) |
The runtime environment for the Lambda function.
|
FunctionConfiguration.Builder |
runtime(Runtime runtime) |
The runtime environment for the Lambda function.
|
FunctionConfiguration.Builder |
timeout(Integer timeout) |
The function execution time at which Lambda should terminate the function.
|
FunctionConfiguration.Builder |
tracingConfig(TracingConfigResponse tracingConfig) |
The parent object that contains your function's tracing settings.
|
FunctionConfiguration.Builder |
version(String version) |
The version of the Lambda function.
|
FunctionConfiguration.Builder |
vpcConfig(VpcConfigResponse vpcConfig) |
VPC configuration associated with your Lambda function.
|
copy
apply, build
FunctionConfiguration.Builder functionName(String functionName)
The name of the function. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the function. Note that the length constraint applies only to the ARN. If you specify only
the function name, it is limited to 64 characters in length.FunctionConfiguration.Builder functionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
functionArn
- The Amazon Resource Name (ARN) assigned to the function.FunctionConfiguration.Builder runtime(String runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
FunctionConfiguration.Builder runtime(Runtime runtime)
The runtime environment for the Lambda function.
runtime
- The runtime environment for the Lambda function.Runtime
FunctionConfiguration.Builder role(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to
access any other Amazon Web Services (AWS) resources.FunctionConfiguration.Builder handler(String handler)
The function Lambda calls to begin executing your function.
handler
- The function Lambda calls to begin executing your function.FunctionConfiguration.Builder codeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
codeSize
- The size, in bytes, of the function .zip file you uploaded.FunctionConfiguration.Builder description(String description)
The user-provided description.
description
- The user-provided description.FunctionConfiguration.Builder timeout(Integer timeout)
The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
timeout
- The function execution time at which Lambda should terminate the function. Because the execution time
has cost implications, we recommend you set this value based on your expected execution time. The
default is 3 seconds.FunctionConfiguration.Builder memorySize(Integer memorySize)
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
memorySize
- The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.FunctionConfiguration.Builder lastModified(String lastModified)
The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats.
lastModified
- The time stamp of the last time you updated the function. The time stamp is conveyed as a string
complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more
information, see Date and Time Formats.FunctionConfiguration.Builder codeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
codeSha256
- It is the SHA256 hash of your function deployment package.FunctionConfiguration.Builder version(String version)
The version of the Lambda function.
version
- The version of the Lambda function.FunctionConfiguration.Builder vpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
vpcConfig
- VPC configuration associated with your Lambda function.FunctionConfiguration.Builder deadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
deadLetterConfig
- The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon
SNS topic.FunctionConfiguration.Builder environment(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
environment
- The parent object that contains your environment's configuration settings.FunctionConfiguration.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
If empty, it means you are using the AWS Lambda default service key.FunctionConfiguration.Builder tracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
tracingConfig
- The parent object that contains your function's tracing settings.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.