Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FunctionConfiguration

import type { FunctionConfiguration } from "https://aws-api.deno.dev/v0.4/services/lambda.ts?docs=full";

Details about a function's configuration.

interface FunctionConfiguration {
Architectures?: Architecture[] | null;
CodeSha256?: string | null;
CodeSize?: number | null;
DeadLetterConfig?: DeadLetterConfig | null;
Description?: string | null;
Environment?: EnvironmentResponse | null;
EphemeralStorage?: EphemeralStorage | null;
FileSystemConfigs?: FileSystemConfig[] | null;
FunctionArn?: string | null;
FunctionName?: string | null;
Handler?: string | null;
ImageConfigResponse?: ImageConfigResponse | null;
KMSKeyArn?: string | null;
LastModified?: string | null;
LastUpdateStatus?: LastUpdateStatus | null;
LastUpdateStatusReason?: string | null;
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode | null;
Layers?: Layer[] | null;
MasterArn?: string | null;
MemorySize?: number | null;
PackageType?: PackageType | null;
RevisionId?: string | null;
Role?: string | null;
Runtime?: Runtime | null;
RuntimeVersionConfig?: RuntimeVersionConfig | null;
SigningJobArn?: string | null;
SigningProfileVersionArn?: string | null;
SnapStart?: SnapStartResponse | null;
State?: State | null;
StateReason?: string | null;
StateReasonCode?: StateReasonCode | null;
Timeout?: number | null;
TracingConfig?: TracingConfigResponse | null;
Version?: string | null;
VpcConfig?: VpcConfigResponse | null;
}

§Properties

§
Architectures?: Architecture[] | null
[src]

The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

§
CodeSha256?: string | null
[src]

The SHA256 hash of the function's deployment package.

§
CodeSize?: number | null
[src]

The size of the function's deployment package, in bytes.

§
DeadLetterConfig?: DeadLetterConfig | null
[src]

The function's dead letter queue.

§
Description?: string | null
[src]

The function's description.

§
Environment?: EnvironmentResponse | null
[src]

The function's environment variables. Omitted from CloudTrail logs.

§
EphemeralStorage?: EphemeralStorage | null
[src]

The size of the function’s /tmp directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.

§
FileSystemConfigs?: FileSystemConfig[] | null
[src]

Connection settings for an Amazon EFS file system.

§
FunctionArn?: string | null
[src]

The function's Amazon Resource Name (ARN).

§
FunctionName?: string | null
[src]

The name of the function.

§
Handler?: string | null
[src]

The function that Lambda calls to begin running your function.

§
ImageConfigResponse?: ImageConfigResponse | null
[src]

The function's image configuration values.

§
KMSKeyArn?: string | null
[src]

The KMS key that's used to encrypt the function's environment variables. This key is returned only if you've configured a customer managed key.

§
LastModified?: string | null
[src]

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

§
LastUpdateStatus?: LastUpdateStatus | null
[src]

The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

§
LastUpdateStatusReason?: string | null
[src]

The reason for the last update that was performed on the function.

§
LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode | null
[src]

The reason code for the last update that was performed on the function.

§
Layers?: Layer[] | null
[src]

The function's layers.

§
MasterArn?: string | null
[src]

For Lambda@Edge functions, the ARN of the main function.

§
MemorySize?: number | null
[src]

The amount of memory available to the function at runtime.

§
PackageType?: PackageType | null
[src]

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

§
RevisionId?: string | null
[src]

The latest updated revision of the function or alias.

§
Role?: string | null
[src]

The function's execution role.

§
Runtime?: Runtime | null
[src]

The runtime environment for the Lambda function.

§
RuntimeVersionConfig?: RuntimeVersionConfig | null
[src]

The ARN of the runtime and any errors that occured.

§
SigningJobArn?: string | null
[src]

The ARN of the signing job.

§
SigningProfileVersionArn?: string | null
[src]

The ARN of the signing profile version.

§
SnapStart?: SnapStartResponse | null
[src]

Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.

§
State?: State | null
[src]

The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

§
StateReason?: string | null
[src]

The reason for the function's current state.

§
StateReasonCode?: StateReasonCode | null
[src]

The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.

§
Timeout?: number | null
[src]

The amount of time in seconds that Lambda allows a function to run before stopping it.

§
TracingConfig?: TracingConfigResponse | null
[src]

The function's X-Ray tracing configuration.

§
Version?: string | null
[src]

The version of the Lambda function.

§
VpcConfig?: VpcConfigResponse | null
[src]

The function's networking configuration.