FunctionArgs

data class FunctionArgs(val architectures: Output<List<FunctionArchitecturesItem>>? = null, val code: Output<FunctionCodeArgs>? = null, val codeSigningConfigArn: Output<String>? = null, val deadLetterConfig: Output<FunctionDeadLetterConfigArgs>? = null, val description: Output<String>? = null, val environment: Output<FunctionEnvironmentArgs>? = null, val ephemeralStorage: Output<FunctionEphemeralStorageArgs>? = null, val fileSystemConfigs: Output<List<FunctionFileSystemConfigArgs>>? = null, val functionName: Output<String>? = null, val handler: Output<String>? = null, val imageConfig: Output<FunctionImageConfigArgs>? = null, val kmsKeyArn: Output<String>? = null, val layers: Output<List<String>>? = null, val memorySize: Output<Int>? = null, val packageType: Output<FunctionPackageType>? = null, val policy: Output<Any>? = null, val reservedConcurrentExecutions: Output<Int>? = null, val role: Output<String>? = null, val runtime: Output<String>? = null, val runtimeManagementConfig: Output<FunctionRuntimeManagementConfigArgs>? = null, val snapStart: Output<FunctionSnapStartArgs>? = null, val tags: Output<List<FunctionTagArgs>>? = null, val timeout: Output<Int>? = null, val tracingConfig: Output<FunctionTracingConfigArgs>? = null, val vpcConfig: Output<FunctionVpcConfigArgs>? = null) : ConvertibleToJava<FunctionArgs>

Resource Type definition for AWS::Lambda::Function in region

Example Usage

Example

No Java example available.

Example

No Java example available.

Example

No Java example available.

Example

No Java example available.

Constructors

Link copied to clipboard
fun FunctionArgs(architectures: Output<List<FunctionArchitecturesItem>>? = null, code: Output<FunctionCodeArgs>? = null, codeSigningConfigArn: Output<String>? = null, deadLetterConfig: Output<FunctionDeadLetterConfigArgs>? = null, description: Output<String>? = null, environment: Output<FunctionEnvironmentArgs>? = null, ephemeralStorage: Output<FunctionEphemeralStorageArgs>? = null, fileSystemConfigs: Output<List<FunctionFileSystemConfigArgs>>? = null, functionName: Output<String>? = null, handler: Output<String>? = null, imageConfig: Output<FunctionImageConfigArgs>? = null, kmsKeyArn: Output<String>? = null, layers: Output<List<String>>? = null, memorySize: Output<Int>? = null, packageType: Output<FunctionPackageType>? = null, policy: Output<Any>? = null, reservedConcurrentExecutions: Output<Int>? = null, role: Output<String>? = null, runtime: Output<String>? = null, runtimeManagementConfig: Output<FunctionRuntimeManagementConfigArgs>? = null, snapStart: Output<FunctionSnapStartArgs>? = null, tags: Output<List<FunctionTagArgs>>? = null, timeout: Output<Int>? = null, tracingConfig: Output<FunctionTracingConfigArgs>? = null, vpcConfig: Output<FunctionVpcConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FunctionArgs

Properties

Link copied to clipboard
Link copied to clipboard
val code: Output<FunctionCodeArgs>? = null

The code for the function.

Link copied to clipboard
val codeSigningConfigArn: Output<String>? = null

A unique Arn for CodeSigningConfig resource

Link copied to clipboard

A dead letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing.

Link copied to clipboard
val description: Output<String>? = null

A description of the function.

Link copied to clipboard

Environment variables that are accessible from function code during execution.

Link copied to clipboard

A function's ephemeral storage settings.

Link copied to clipboard

Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a DependsOn attribute to ensure that the mount target is created or updated before the function.

Link copied to clipboard
val functionName: Output<String>? = null

The name of the Lambda function, up to 64 characters in length. If you don't specify a name, AWS CloudFormation generates one.

Link copied to clipboard
val handler: Output<String>? = null

The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime

Link copied to clipboard

ImageConfig

Link copied to clipboard
val kmsKeyArn: Output<String>? = null

The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key.

Link copied to clipboard
val layers: Output<List<String>>? = null

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

Link copied to clipboard
val memorySize: Output<Int>? = null

The amount of memory that your function has access to. Increasing the function's memory also increases its CPU allocation. The default value is 128 MB. The value must be a multiple of 64 MB.

Link copied to clipboard
val packageType: Output<FunctionPackageType>? = null

PackageType.

Link copied to clipboard
val policy: Output<Any>? = null

The resource policy of your function

Link copied to clipboard
val reservedConcurrentExecutions: Output<Int>? = null

The number of simultaneous executions to reserve for the function.

Link copied to clipboard
val role: Output<String>? = null

The Amazon Resource Name (ARN) of the function's execution role.

Link copied to clipboard
val runtime: Output<String>? = null

The identifier of the function's runtime.

Link copied to clipboard

RuntimeManagementConfig

Link copied to clipboard
val snapStart: Output<FunctionSnapStartArgs>? = null

The SnapStart setting of your function

Link copied to clipboard
val tags: Output<List<FunctionTagArgs>>? = null

A list of tags to apply to the function.

Link copied to clipboard
val timeout: Output<Int>? = null

The amount of time that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds.

Link copied to clipboard

Set Mode to Active to sample and trace a subset of incoming requests with AWS X-Ray.

Link copied to clipboard
val vpcConfig: Output<FunctionVpcConfigArgs>? = null

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC.