Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AwsLambdaFunctionCode = AwsLambdaFunctionCode' {}
- newAwsLambdaFunctionCode :: AwsLambdaFunctionCode
- awsLambdaFunctionCode_s3ObjectVersion :: Lens' AwsLambdaFunctionCode (Maybe Text)
- awsLambdaFunctionCode_s3Key :: Lens' AwsLambdaFunctionCode (Maybe Text)
- awsLambdaFunctionCode_zipFile :: Lens' AwsLambdaFunctionCode (Maybe Text)
- awsLambdaFunctionCode_s3Bucket :: Lens' AwsLambdaFunctionCode (Maybe Text)
Documentation
data AwsLambdaFunctionCode Source #
The code for the Lambda function. You can specify either an object in Amazon S3, or upload a deployment package directly.
See: newAwsLambdaFunctionCode
smart constructor.
AwsLambdaFunctionCode' | |
|
Instances
newAwsLambdaFunctionCode :: AwsLambdaFunctionCode Source #
Create a value of AwsLambdaFunctionCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:s3ObjectVersion:AwsLambdaFunctionCode'
, awsLambdaFunctionCode_s3ObjectVersion
- For versioned objects, the version of the deployment package object to
use.
$sel:s3Key:AwsLambdaFunctionCode'
, awsLambdaFunctionCode_s3Key
- The Amazon S3 key of the deployment package.
$sel:zipFile:AwsLambdaFunctionCode'
, awsLambdaFunctionCode_zipFile
- The base64-encoded contents of the deployment package. Amazon Web
Services SDK and Amazon Web Services CLI clients handle the encoding for
you.
$sel:s3Bucket:AwsLambdaFunctionCode'
, awsLambdaFunctionCode_s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your
function. The bucket can be in a different Amazon Web Services account.
awsLambdaFunctionCode_s3ObjectVersion :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #
For versioned objects, the version of the deployment package object to use.
awsLambdaFunctionCode_s3Key :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #
The Amazon S3 key of the deployment package.
awsLambdaFunctionCode_zipFile :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
awsLambdaFunctionCode_s3Bucket :: Lens' AwsLambdaFunctionCode (Maybe Text) Source #
An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.