stratosphere-0.2.2: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.LambdaVersion

Description

The AWS::Lambda::Version resource publishes a specified version of an AWS Lambda (Lambda) function. When publishing a new version of your function, Lambda copies the latest version of your function. For more information, see Introduction to AWS Lambda Versioning in the AWS Lambda Developer Guide.

Synopsis

Documentation

data LambdaVersion Source #

Full data type definition for LambdaVersion. See lambdaVersion for a more convenient constructor.

lambdaVersion Source #

Constructor for LambdaVersion containing required fields as arguments.

lvCodeSha256 :: Lens' LambdaVersion (Maybe (Val Text)) Source #

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.

lvDescription :: Lens' LambdaVersion (Maybe (Val Text)) Source #

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.

lvFunctionName :: Lens' LambdaVersion (Val Text) Source #

The Lambda function for which you want to publish a version. You can specify the function's name or its Amazon Resource Name (ARN).