FunctionConfiguration
¶
Source code in docs_src/capo_lambda/types/function_configuration.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | |
architectures
instance-attribute
¶
architectures: NotRequired[ArchitecturesList]
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.
capacity_provider_config
instance-attribute
¶
capacity_provider_config: NotRequired[CapacityProviderConfig]
Configuration for the capacity provider that manages compute resources for Lambda functions.
code_sha256
instance-attribute
¶
code_sha256: NotRequired[String]
The SHA256 hash of the function's deployment package.
code_size
instance-attribute
¶
code_size: Long
The size of the function's deployment package, in bytes.
config_sha256
instance-attribute
¶
config_sha256: NotRequired[String]
The SHA256 hash of the function configuration.
dead_letter_config
instance-attribute
¶
dead_letter_config: NotRequired[DeadLetterConfig]
The function's dead letter queue.
durable_config
instance-attribute
¶
durable_config: NotRequired[DurableConfig]
The function's durable execution configuration settings, if the function is configured for durability.
environment
instance-attribute
¶
environment: NotRequired[EnvironmentResponse]
The function's environment variables. Omitted from CloudTrail logs.
ephemeral_storage
instance-attribute
¶
ephemeral_storage: NotRequired[EphemeralStorage]
The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).
file_system_configs
instance-attribute
¶
file_system_configs: NotRequired[FileSystemConfigList]
Connection settings for an Amazon EFS file system or an Amazon S3 file system.
function_arn
instance-attribute
¶
function_arn: NotRequired[NameSpacedFunctionArn]
The function's Amazon Resource Name (ARN).
function_name
instance-attribute
¶
function_name: NotRequired[NamespacedFunctionName]
The name of the function.
handler
instance-attribute
¶
handler: NotRequired[Handler]
The function that Lambda calls to begin running your function.
image_config_response
instance-attribute
¶
image_config_response: NotRequired[ImageConfigResponse]
The function's image configuration values.
kms_key_arn
instance-attribute
¶
kms_key_arn: NotRequired[KMSKeyArn]
The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources:
-
The function's environment variables.
-
The function's Lambda SnapStart snapshots.
-
When used with
SourceKMSKeyArn, the unzipped version of the .zip deployment package that's used for function invocations. For more information, see Specifying a customer managed key for Lambda. -
The optimized version of the container image that's used for function invocations. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more information, see Function lifecycle.
If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key or an Amazon Web Services managed key.
last_modified
instance-attribute
¶
last_modified: NotRequired[Timestamp]
The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
last_update_status
instance-attribute
¶
last_update_status: NotRequired[LastUpdateStatus]
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
instance-attribute
¶
last_update_status_reason: NotRequired[LastUpdateStatusReason]
The reason for the last update that was performed on the function.
last_update_status_reason_code
instance-attribute
¶
last_update_status_reason_code: NotRequired[LastUpdateStatusReasonCode]
The reason code for the last update that was performed on the function.
logging_config
instance-attribute
¶
logging_config: NotRequired[LoggingConfig]
The function's Amazon CloudWatch Logs configuration settings.
master_arn
instance-attribute
¶
master_arn: NotRequired[FunctionArn]
For Lambda@Edge functions, the ARN of the main function.
memory_size
instance-attribute
¶
memory_size: NotRequired[MemorySize]
The amount of memory available to the function at runtime.
package_type
instance-attribute
¶
package_type: NotRequired[PackageType]
The type of deployment package. Set to Image for container image and set Zip for .zip file archive.
revision_id
instance-attribute
¶
revision_id: NotRequired[String]
The latest updated revision of the function or alias.
runtime
instance-attribute
¶
runtime: NotRequired[Runtime]
The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a container image.
The following list includes deprecated runtimes. Lambda blocks creating new functions and updating existing functions shortly after each runtime is deprecated. For more information, see Runtime use after deprecation.
For a list of all currently supported runtimes, see Supported runtimes.
runtime_version_config
instance-attribute
¶
runtime_version_config: NotRequired[RuntimeVersionConfig]
The ARN of the runtime and any errors that occured.
signing_profile_version_arn
instance-attribute
¶
signing_profile_version_arn: NotRequired[Arn]
The ARN of the signing profile version.
snap_start
instance-attribute
¶
snap_start: NotRequired[SnapStartResponse]
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
instance-attribute
¶
state: NotRequired[State]
The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.
state_reason
instance-attribute
¶
state_reason: NotRequired[StateReason]
The reason for the function's current state.
state_reason_code
instance-attribute
¶
state_reason_code: NotRequired[StateReasonCode]
The reason code for the function's current state. When the code is Creating, you can't invoke or modify the function.
tenancy_config
instance-attribute
¶
tenancy_config: NotRequired[TenancyConfig]
The function's tenant isolation configuration settings. Determines whether the Lambda function runs on a shared or dedicated infrastructure per unique tenant.
timeout
instance-attribute
¶
timeout: NotRequired[Timeout]
The amount of time in seconds that Lambda allows a function to run before stopping it.
tracing_config
instance-attribute
¶
tracing_config: NotRequired[TracingConfigResponse]
The function's X-Ray tracing configuration.
vpc_config
instance-attribute
¶
vpc_config: NotRequired[VpcConfigResponse]
The function's networking configuration.