Class: Version

Lambda.Version

new Version()

Properties:
Name Type Description
CodeSha256 String Required: No. The SHA-256 hash of the deployment package that you want to publish. This value must match the SHA-256 hash of the $LATEST version of the function. Specify this property to validate that you are publishing the correct package. Update requires: Updates are not supported.
Description String Required: No. A description of the version you are publishing. If you don't specify a value, Lambda copies the description from the $LATEST version of the function.Update requires: Updates are not supported.
FunctionName String Required: Yes. The Lambda function for which you want to publish a version. You can specify the function's name or its Amazon Resource Name (ARN).Update requires: Replacement
Source:

Extends

  • WKResource

Lambda.Version

new Version()

Properties:
Name Type Description
CodeSha256 String Required: No. The SHA-256 hash of the deployment package that you want to publish. This value must match the SHA-256 hash of the $LATEST version of the function. Specify this property to validate that you are publishing the correct package. Update requires: Updates are not supported.
Description String Required: No. A description of the version you are publishing. If you don't specify a value, Lambda copies the description from the $LATEST version of the function.Update requires: Updates are not supported.
FunctionName String Required: Yes. The Lambda function for which you want to publish a version. You can specify the function's name or its Amazon Resource Name (ARN).Update requires: Replacement
Source:

Extends

  • WKResource