public static interface FunctionCode.Builder extends CopyableBuilder<FunctionCode.Builder,FunctionCode>
Modifier and Type | Method and Description |
---|---|
FunctionCode.Builder |
s3Bucket(String s3Bucket)
Amazon S3 bucket name where the .zip file containing your deployment package is stored.
|
FunctionCode.Builder |
s3Key(String s3Key)
The Amazon S3 object (the deployment package) key name you want to upload.
|
FunctionCode.Builder |
s3ObjectVersion(String s3ObjectVersion)
The Amazon S3 object (the deployment package) version you want to upload.
|
FunctionCode.Builder |
zipFile(ByteBuffer zipFile)
The contents of your zip file containing your deployment package.
|
copy
apply, build
FunctionCode.Builder zipFile(ByteBuffer zipFile)
The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, see Execution Permissions in the AWS Lambda Developer Guide.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
zipFile
- The contents of your zip file containing your deployment package. If you are using the web API
directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the
AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip
file, see Execution Permissions in the AWS Lambda Developer Guide.FunctionCode.Builder s3Bucket(String s3Bucket)
Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function.
s3Bucket
- Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket
must reside in the same AWS region where you are creating the Lambda function.FunctionCode.Builder s3Key(String s3Key)
The Amazon S3 object (the deployment package) key name you want to upload.
s3Key
- The Amazon S3 object (the deployment package) key name you want to upload.FunctionCode.Builder s3ObjectVersion(String s3ObjectVersion)
The Amazon S3 object (the deployment package) version you want to upload.
s3ObjectVersion
- The Amazon S3 object (the deployment package) version you want to upload.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.