@Generated(value="software.amazon.awssdk:codegen") public class FunctionConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
A complex type that describes function metadata.
Modifier and Type | Class and Description |
---|---|
static interface |
FunctionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static FunctionConfiguration.Builder |
builder() |
String |
codeSha256()
It is the SHA256 hash of your function deployment package.
|
Long |
codeSize()
The size, in bytes, of the function .zip file you uploaded.
|
DeadLetterConfig |
deadLetterConfig()
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
|
String |
description()
The user-provided description.
|
EnvironmentResponse |
environment()
The parent object that contains your environment's configuration settings.
|
boolean |
equals(Object obj) |
String |
functionArn()
The Amazon Resource Name (ARN) assigned to the function.
|
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 Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
String |
lastModified()
The time stamp of the last time you updated the function.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
masterArn()
Returns the ARN (Amazon Resource Name) of the master function.
|
Integer |
memorySize()
The memory size, in MB, you configured for the function.
|
String |
revisionId()
Represents the latest updated revision of the function or alias.
|
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.
|
Runtime |
runtime()
The runtime environment for the Lambda function.
|
String |
runtimeString()
The runtime environment for the Lambda function.
|
static Class<? extends FunctionConfiguration.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The function execution time at which Lambda should terminate the function.
|
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 parent object that contains your function's tracing settings.
|
String |
version()
The version of the Lambda function.
|
VpcConfigResponse |
vpcConfig()
VPC configuration associated with your Lambda function.
|
copy
public 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.
public String functionArn()
The Amazon Resource Name (ARN) assigned to the function.
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
runtimeString()
.
Runtime
public String runtimeString()
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
runtimeString()
.
Runtime
public 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.
public String handler()
The function Lambda calls to begin executing your function.
public Long codeSize()
The size, in bytes, of the function .zip file you uploaded.
public String description()
The user-provided description.
public 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.
public Integer memorySize()
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
public 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.
public String codeSha256()
It is the SHA256 hash of your function deployment package.
public String version()
The version of the Lambda function.
public VpcConfigResponse vpcConfig()
VPC configuration associated with your Lambda function.
public DeadLetterConfig deadLetterConfig()
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
public EnvironmentResponse environment()
The parent object that contains your environment's configuration settings.
public 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.
public TracingConfigResponse tracingConfig()
The parent object that contains your function's tracing settings.
public String masterArn()
Returns the ARN (Amazon Resource Name) of the master function.
public String revisionId()
Represents the latest updated revision of the function or alias.
public FunctionConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
public static FunctionConfiguration.Builder builder()
public static Class<? extends FunctionConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.