@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFunctionConfigurationRequest extends LambdaRequest implements ToCopyableBuilder<UpdateFunctionConfigurationRequest.Builder,UpdateFunctionConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateFunctionConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateFunctionConfigurationRequest.Builder |
builder() |
DeadLetterConfig |
deadLetterConfig()
A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when
they fail processing.
|
String |
description()
A short user-defined function description.
|
Environment |
environment()
The parent object that contains your environment's configuration settings.
|
boolean |
equals(Object obj) |
String |
functionName()
The name of the Lambda function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
handler()
The function that Lambda calls to begin executing your function.
|
int |
hashCode() |
String |
kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
List<String> |
layers()
A list of function layers to
add to the function's execution environment.
|
Integer |
memorySize()
The amount of memory, in MB, your Lambda function is given.
|
String |
revisionId()
Only update the function if the revision ID matches the ID specified.
|
String |
role()
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
|
Runtime |
runtime()
The runtime version for the function.
|
String |
runtimeAsString()
The runtime version for the function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateFunctionConfigurationRequest.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The amount of time that Lambda allows a function to run before terminating it.
|
UpdateFunctionConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TracingConfig |
tracingConfig()
Set
Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray. |
VpcConfig |
vpcConfig()
Specify security groups and subnets in a VPC to which your Lambda function needs access.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String functionName()
The name of the Lambda function.
Name formats
Function name - my-function.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Name formats
Function name - my-function.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
Partial ARN - 123456789012:function:my-function.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public String role()
The Amazon Resource Name (ARN) of the IAM role that Lambda will assume when it executes your function.
public String handler()
The function that Lambda calls to begin executing your function. For Node.js, it is the
module-name.export value in your function.
module-name.export value in your function.public String description()
A short user-defined function description. AWS Lambda does not use this value. Assign a meaningful description as you see fit.
public Integer timeout()
The amount of time that Lambda allows a function to run before terminating it. The default is 3 seconds. The maximum allowed value is 900 seconds.
public Integer memorySize()
The amount of memory, in MB, your Lambda function is given. AWS Lambda uses this memory size to infer the amount of CPU allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
public VpcConfig vpcConfig()
Specify security groups and subnets in a VPC to which your Lambda function needs access.
public Environment environment()
The parent object that contains your environment's configuration settings.
public Runtime runtime()
The runtime version for the function.
If the service returns an enum value that is not available in the current SDK version, runtime will
return Runtime.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
runtimeAsString().
Runtimepublic String runtimeAsString()
The runtime version for the function.
If the service returns an enum value that is not available in the current SDK version, runtime will
return Runtime.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
runtimeAsString().
Runtimepublic DeadLetterConfig deadLetterConfig()
A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead Letter Queues.
public String kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If you elect to use the AWS Lambda default service key, pass in an empty string ("") for this parameter.
public TracingConfig tracingConfig()
Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.
Mode to Active to sample and trace a subset of incoming requests with AWS
X-Ray.public String revisionId()
Only update the function if the revision ID matches the ID specified. Use this option to avoid modifying a function that has changed since you last read it.
public List<String> layers()
A list of function layers to add to the function's execution environment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UpdateFunctionConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateFunctionConfigurationRequest.Builder,UpdateFunctionConfigurationRequest>toBuilder in class LambdaRequestpublic static UpdateFunctionConfigurationRequest.Builder builder()
public static Class<? extends UpdateFunctionConfigurationRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.