Function

class Function : KotlinCustomResource

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.

Properties

Link copied to clipboard
Link copied to clipboard
val arn: Output<String>

Unique identifier for function resources

Link copied to clipboard
val code: Output<FunctionCode>

The code for the function.

Link copied to clipboard

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>?

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>?

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>?

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
val id: Output<String>
Link copied to clipboard

ImageConfig

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

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>>?

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>?

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

PackageType.

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

The resource policy of your function

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The number of simultaneous executions to reserve for the function.

Link copied to clipboard
val role: Output<String>

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

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

The identifier of the function's runtime.

Link copied to clipboard

RuntimeManagementConfig

Link copied to clipboard

The SnapStart setting of your function

Link copied to clipboard

The SnapStart response of your function

Link copied to clipboard
val tags: Output<List<FunctionTag>>?

A list of tags to apply to the function.

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

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 urn: Output<String>
Link copied to clipboard

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