aws_lambda_function

account_id

Type: STRING

architectures

Type: UNORDERED_LIST_STRING
Provider name: Architectures
Description: 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.

code_sha256

Type: STRING
Provider name: CodeSha256
Description: The SHA256 hash of the function’s deployment package.

code_size

Type: INT64
Provider name: CodeSize
Description: The size of the function’s deployment package, in bytes.

dead_letter_config

Type: STRUCT
Provider name: DeadLetterConfig
Description: The function’s dead letter queue.

  • target_arn
    Type: STRING
    Provider name: TargetArn
    Description: The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.

description

Type: STRING
Provider name: Description
Description: The function’s description.

environment

Type: STRUCT
Provider name: Environment
Description: The function’s environment variables.

  • error
    Type: STRUCT
    Provider name: Error
    Description: Error messages for environment variables that couldn’t be applied.
    • error_code
      Type: STRING
      Provider name: ErrorCode
      Description: The error code.
    • message
      Type: STRING
      Provider name: Message
      Description: The error message.
  • variables
    Type: MAP_STRING_STRING
    Provider name: Variables
    Description: Environment variable key-value pairs.

ephemeral_storage

Type: STRUCT
Provider name: EphemeralStorage
Description: The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

  • size
    Type: INT32
    Provider name: Size
    Description: The size of the function’s /tmp directory.

file_system_configs

Type: UNORDERED_LIST_STRUCT
Provider name: FileSystemConfigs
Description: Connection settings for an Amazon EFS file system.

  • arn
    Type: STRING
    Provider name: Arn
    Description: The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
  • local_mount_path
    Type: STRING
    Provider name: LocalMountPath
    Description: The path where the function can access the file system, starting with /mnt/.

function_arn

Type: STRING
Provider name: FunctionArn
Description: The function’s Amazon Resource Name (ARN).

function_name

Type: STRING
Provider name: FunctionName
Description: The name of the function.

handler

Type: STRING
Provider name: Handler
Description: The function that Lambda calls to begin executing your function.

image_config_response

Type: STRUCT
Provider name: ImageConfigResponse
Description: The function’s image configuration values.

  • error
    Type: STRUCT
    Provider name: Error
    Description: Error response to GetFunctionConfiguration.
    • error_code
      Type: STRING
      Provider name: ErrorCode
      Description: Error code.
    • message
      Type: STRING
      Provider name: Message
      Description: Error message.
  • image_config
    Type: STRUCT
    Provider name: ImageConfig
    Description: Configuration values that override the container image Dockerfile.
    • command
      Type: UNORDERED_LIST_STRING
      Provider name: Command
      Description: Specifies parameters that you want to pass in with ENTRYPOINT.
    • entry_point
      Type: UNORDERED_LIST_STRING
      Provider name: EntryPoint
      Description: Specifies the entry point to their application, which is typically the location of the runtime executable.
    • working_directory
      Type: STRING
      Provider name: WorkingDirectory
      Description: Specifies the working directory.

kms_key_arn

Type: STRING
Provider name: KMSKeyArn
Description: The KMS key that’s used to encrypt the function’s environment variables. This key is only returned if you’ve configured a customer managed key.

last_modified

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

last_update_status

Type: STRING
Provider name: LastUpdateStatus
Description: The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

last_update_status_reason

Type: STRING
Provider name: LastUpdateStatusReason
Description: The reason for the last update that was performed on the function.

last_update_status_reason_code

Type: STRING
Provider name: LastUpdateStatusReasonCode
Description: The reason code for the last update that was performed on the function.

layers

Type: UNORDERED_LIST_STRUCT
Provider name: Layers
Description: The function’s layers.

  • arn
    Type: STRING
    Provider name: Arn
    Description: The Amazon Resource Name (ARN) of the function layer.
  • code_size
    Type: INT64
    Provider name: CodeSize
    Description: The size of the layer archive in bytes.
  • signing_job_arn
    Type: STRING
    Provider name: SigningJobArn
    Description: The Amazon Resource Name (ARN) of a signing job.
  • signing_profile_version_arn
    Type: STRING
    Provider name: SigningProfileVersionArn
    Description: The Amazon Resource Name (ARN) for a signing profile version.

master_arn

Type: STRING
Provider name: MasterArn
Description: For Lambda@Edge functions, the ARN of the main function.

memory_size

Type: INT32
Provider name: MemorySize
Description: The amount of memory available to the function at runtime.

package_type

Type: STRING
Provider name: PackageType
Description: The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

revision_id

Type: STRING
Provider name: RevisionId
Description: The latest updated revision of the function or alias.

role

Type: STRING
Provider name: Role
Description: The function’s execution role.

runtime

Type: STRING
Provider name: Runtime
Description: The runtime environment for the Lambda function.

signing_job_arn

Type: STRING
Provider name: SigningJobArn
Description: The ARN of the signing job.

signing_profile_version_arn

Type: STRING
Provider name: SigningProfileVersionArn
Description: The ARN of the signing profile version.

state

Type: STRING
Provider name: State
Description: The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

state_reason

Type: STRING
Provider name: StateReason
Description: The reason for the function’s current state.

state_reason_code

Type: STRING
Provider name: StateReasonCode
Description: The reason code for the function’s current state. When the code is Creating, you can’t invoke or modify the function.

tags

Type: UNORDERED_LIST_STRING

timeout

Type: INT32
Provider name: Timeout
Description: The amount of time in seconds that Lambda allows a function to run before stopping it.

tracing_config

Type: STRUCT
Provider name: TracingConfig
Description: The function’s X-Ray tracing configuration.

  • mode
    Type: STRING
    Provider name: Mode
    Description: The tracing mode.

version

Type: STRING
Provider name: Version
Description: The version of the Lambda function.

vpc_config

Type: STRUCT
Provider name: VpcConfig
Description: The function’s networking configuration.

  • security_group_ids
    Type: UNORDERED_LIST_STRING
    Provider name: SecurityGroupIds
    Description: A list of VPC security groups IDs.
  • subnet_ids
    Type: UNORDERED_LIST_STRING
    Provider name: SubnetIds
    Description: A list of VPC subnet IDs.
  • vpc_id
    Type: STRING
    Provider name: VpcId
    Description: The ID of the VPC.