CodeArgs

data class CodeArgs(val imageUri: Output<String>? = null, val s3Bucket: Output<String>? = null, val s3Key: Output<String>? = null, val s3ObjectVersion: Output<String>? = null, val zipFile: Output<String>? = null) : ConvertibleToJava<CodeArgs>

Definition of Code

Constructors

Link copied to clipboard
constructor(imageUri: Output<String>? = null, s3Bucket: Output<String>? = null, s3Key: Output<String>? = null, s3ObjectVersion: Output<String>? = null, zipFile: Output<String>? = null)

Properties

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

URI of a container image in the Amazon ECR registry.

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

An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.

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

The Amazon S3 key of the deployment package.

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

For versioned objects, the version of the deployment package object to use.

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

(Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named `index` and zips it to create a deployment package. This zip file cannot exceed 4MB. For the `Handler` property, the first part of the handler identifier must be `index`. For example, `index&#46;handler`. For JSON, you must escape quotes and special characters such as newline (`\n`) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (cfn-response) that simplifies sending responses. See Using Lambda with CloudFormation for details.

Functions

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