@Generated(value="software.amazon.awssdk:codegen") public final class FunctionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
A Lambda function's configuration settings.
Modifier and Type | Class and Description |
---|---|
static interface |
FunctionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static FunctionConfiguration.Builder |
builder() |
String |
codeSha256()
The SHA256 hash of the function's deployment package.
|
Long |
codeSize()
The size of the function's deployment package in bytes.
|
DeadLetterConfig |
deadLetterConfig()
The function's dead letter queue.
|
String |
description()
The function's description.
|
EnvironmentResponse |
environment()
The function's environment variables.
|
boolean |
equals(Object obj) |
String |
functionArn()
The function's Amazon Resource Name.
|
String |
functionName()
The name of the function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
handler()
The function Lambda calls to begin executing your function.
|
int |
hashCode() |
String |
kmsKeyArn()
The KMS key used to encrypt the function's environment variables.
|
String |
lastModified()
The date and time that the function was last updated, in ISO-8601
format (YYYY-MM-DDThh:mm:ss.sTZD).
|
List<Layer> |
layers()
A list of function layers.
|
String |
masterArn()
The ARN of the master function.
|
Integer |
memorySize()
The memory allocated to the function
|
String |
revisionId()
Represents the latest updated revision of the function or alias.
|
String |
role()
The function's execution role.
|
Runtime |
runtime()
The runtime environment for the Lambda function.
|
String |
runtimeAsString()
The runtime environment for the Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FunctionConfiguration.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The amount of time that Lambda allows a function to run before terminating it.
|
FunctionConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
TracingConfigResponse |
tracingConfig()
The function's AWS X-Ray tracing configuration.
|
String |
version()
The version of the Lambda function.
|
VpcConfigResponse |
vpcConfig()
The function's networking configuration.
|
copy
public String functionName()
The name of the function.
public String functionArn()
The function's Amazon Resource Name.
public Runtime runtime()
The runtime environment for the Lambda 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()
.
Runtime
public String runtimeAsString()
The runtime environment for the Lambda 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()
.
Runtime
public String role()
The function's execution role.
public String handler()
The function Lambda calls to begin executing your function.
public Long codeSize()
The size of the function's deployment package in bytes.
public String description()
The function's description.
public Integer timeout()
The amount of time that Lambda allows a function to run before terminating it.
public Integer memorySize()
The memory allocated to the function
public String lastModified()
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
public String codeSha256()
The SHA256 hash of the function's deployment package.
public String version()
The version of the Lambda function.
public VpcConfigResponse vpcConfig()
The function's networking configuration.
public DeadLetterConfig deadLetterConfig()
The function's dead letter queue.
public EnvironmentResponse environment()
The function's environment variables.
public String kmsKeyArn()
The KMS key used to encrypt the function's environment variables. Only returned if you've configured a customer managed CMK.
public TracingConfigResponse tracingConfig()
The function's AWS X-Ray tracing configuration.
public String masterArn()
The ARN of the master function.
public String revisionId()
Represents the latest updated revision of the function or alias.
public List<Layer> layers()
A list of function layers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public FunctionConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
public static FunctionConfiguration.Builder builder()
public static Class<? extends FunctionConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.