AWS SDK for C++

AWS SDK for C++ Version 1.11.617

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Lambda::Model::FunctionCode Class Reference

#include <FunctionCode.h>

Public Member Functions

AWS_LAMBDA_API FunctionCode ()=default
 
AWS_LAMBDA_API FunctionCode (Aws::Utils::Json::JsonView jsonValue)
 
AWS_LAMBDA_API FunctionCodeoperator= (Aws::Utils::Json::JsonView jsonValue)
 
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize () const
 
 
bool ZipFileHasBeenSet () const
 
template<typename ZipFileT = Aws::Utils::CryptoBuffer>
void SetZipFile (ZipFileT &&value)
 
template<typename ZipFileT = Aws::Utils::CryptoBuffer>
FunctionCodeWithZipFile (ZipFileT &&value)
 
const Aws::StringGetS3Bucket () const
 
bool S3BucketHasBeenSet () const
 
template<typename S3BucketT = Aws::String>
void SetS3Bucket (S3BucketT &&value)
 
template<typename S3BucketT = Aws::String>
FunctionCodeWithS3Bucket (S3BucketT &&value)
 
const Aws::StringGetS3Key () const
 
bool S3KeyHasBeenSet () const
 
template<typename S3KeyT = Aws::String>
void SetS3Key (S3KeyT &&value)
 
template<typename S3KeyT = Aws::String>
FunctionCodeWithS3Key (S3KeyT &&value)
 
 
 
template<typename S3ObjectVersionT = Aws::String>
void SetS3ObjectVersion (S3ObjectVersionT &&value)
 
template<typename S3ObjectVersionT = Aws::String>
FunctionCodeWithS3ObjectVersion (S3ObjectVersionT &&value)
 
const Aws::StringGetImageUri () const
 
bool ImageUriHasBeenSet () const
 
template<typename ImageUriT = Aws::String>
void SetImageUri (ImageUriT &&value)
 
template<typename ImageUriT = Aws::String>
FunctionCodeWithImageUri (ImageUriT &&value)
 
 
 
template<typename SourceKMSKeyArnT = Aws::String>
void SetSourceKMSKeyArn (SourceKMSKeyArnT &&value)
 
template<typename SourceKMSKeyArnT = Aws::String>
FunctionCodeWithSourceKMSKeyArn (SourceKMSKeyArnT &&value)
 

Detailed Description

The code for the Lambda function. You can either specify an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.

See Also:

AWS API Reference

Definition at line 34 of file FunctionCode.h.

Constructor & Destructor Documentation

◆ FunctionCode() [1/2]

AWS_LAMBDA_API Aws::Lambda::Model::FunctionCode::FunctionCode ( )
default

◆ FunctionCode() [2/2]

AWS_LAMBDA_API Aws::Lambda::Model::FunctionCode::FunctionCode ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetImageUri()

const Aws::String & Aws::Lambda::Model::FunctionCode::GetImageUri ( ) const
inline

URI of a container image in the Amazon ECR registry.

Definition at line 100 of file FunctionCode.h.

◆ GetS3Bucket()

const Aws::String & Aws::Lambda::Model::FunctionCode::GetS3Bucket ( ) const
inline

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.

Definition at line 61 of file FunctionCode.h.

◆ GetS3Key()

const Aws::String & Aws::Lambda::Model::FunctionCode::GetS3Key ( ) const
inline

The Amazon S3 key of the deployment package.

Definition at line 73 of file FunctionCode.h.

◆ GetS3ObjectVersion()

const Aws::String & Aws::Lambda::Model::FunctionCode::GetS3ObjectVersion ( ) const
inline

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

Definition at line 86 of file FunctionCode.h.

◆ GetSourceKMSKeyArn()

const Aws::String & Aws::Lambda::Model::FunctionCode::GetSourceKMSKeyArn ( ) const
inline

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.

Definition at line 116 of file FunctionCode.h.

◆ GetZipFile()

const Aws::Utils::CryptoBuffer & Aws::Lambda::Model::FunctionCode::GetZipFile ( ) const
inline

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.

Definition at line 48 of file FunctionCode.h.

◆ ImageUriHasBeenSet()

bool Aws::Lambda::Model::FunctionCode::ImageUriHasBeenSet ( ) const
inline

URI of a container image in the Amazon ECR registry.

Definition at line 101 of file FunctionCode.h.

◆ Jsonize()

AWS_LAMBDA_API Aws::Utils::Json::JsonValue Aws::Lambda::Model::FunctionCode::Jsonize ( ) const

◆ operator=()

AWS_LAMBDA_API FunctionCode & Aws::Lambda::Model::FunctionCode::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ S3BucketHasBeenSet()

bool Aws::Lambda::Model::FunctionCode::S3BucketHasBeenSet ( ) const
inline

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.

Definition at line 62 of file FunctionCode.h.

◆ S3KeyHasBeenSet()

bool Aws::Lambda::Model::FunctionCode::S3KeyHasBeenSet ( ) const
inline

The Amazon S3 key of the deployment package.

Definition at line 74 of file FunctionCode.h.

◆ S3ObjectVersionHasBeenSet()

bool Aws::Lambda::Model::FunctionCode::S3ObjectVersionHasBeenSet ( ) const
inline

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

Definition at line 87 of file FunctionCode.h.

◆ SetImageUri()

template<typename ImageUriT = Aws::String>
void Aws::Lambda::Model::FunctionCode::SetImageUri ( ImageUriT &&  value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 103 of file FunctionCode.h.

◆ SetS3Bucket()

template<typename S3BucketT = Aws::String>
void Aws::Lambda::Model::FunctionCode::SetS3Bucket ( S3BucketT &&  value)
inline

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.

Definition at line 64 of file FunctionCode.h.

◆ SetS3Key()

template<typename S3KeyT = Aws::String>
void Aws::Lambda::Model::FunctionCode::SetS3Key ( S3KeyT &&  value)
inline

The Amazon S3 key of the deployment package.

Definition at line 76 of file FunctionCode.h.

◆ SetS3ObjectVersion()

template<typename S3ObjectVersionT = Aws::String>
void Aws::Lambda::Model::FunctionCode::SetS3ObjectVersion ( S3ObjectVersionT &&  value)
inline

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

Definition at line 89 of file FunctionCode.h.

◆ SetSourceKMSKeyArn()

template<typename SourceKMSKeyArnT = Aws::String>
void Aws::Lambda::Model::FunctionCode::SetSourceKMSKeyArn ( SourceKMSKeyArnT &&  value)
inline

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.

Definition at line 119 of file FunctionCode.h.

◆ SetZipFile()

template<typename ZipFileT = Aws::Utils::CryptoBuffer>
void Aws::Lambda::Model::FunctionCode::SetZipFile ( ZipFileT &&  value)
inline

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.

Definition at line 51 of file FunctionCode.h.

◆ SourceKMSKeyArnHasBeenSet()

bool Aws::Lambda::Model::FunctionCode::SourceKMSKeyArnHasBeenSet ( ) const
inline

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.

Definition at line 117 of file FunctionCode.h.

◆ WithImageUri()

template<typename ImageUriT = Aws::String>
FunctionCode & Aws::Lambda::Model::FunctionCode::WithImageUri ( ImageUriT &&  value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 105 of file FunctionCode.h.

◆ WithS3Bucket()

template<typename S3BucketT = Aws::String>
FunctionCode & Aws::Lambda::Model::FunctionCode::WithS3Bucket ( S3BucketT &&  value)
inline

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.

Definition at line 66 of file FunctionCode.h.

◆ WithS3Key()

template<typename S3KeyT = Aws::String>
FunctionCode & Aws::Lambda::Model::FunctionCode::WithS3Key ( S3KeyT &&  value)
inline

The Amazon S3 key of the deployment package.

Definition at line 78 of file FunctionCode.h.

◆ WithS3ObjectVersion()

template<typename S3ObjectVersionT = Aws::String>
FunctionCode & Aws::Lambda::Model::FunctionCode::WithS3ObjectVersion ( S3ObjectVersionT &&  value)
inline

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

Definition at line 91 of file FunctionCode.h.

◆ WithSourceKMSKeyArn()

template<typename SourceKMSKeyArnT = Aws::String>
FunctionCode & Aws::Lambda::Model::FunctionCode::WithSourceKMSKeyArn ( SourceKMSKeyArnT &&  value)
inline

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.

Definition at line 121 of file FunctionCode.h.

◆ WithZipFile()

template<typename ZipFileT = Aws::Utils::CryptoBuffer>
FunctionCode & Aws::Lambda::Model::FunctionCode::WithZipFile ( ZipFileT &&  value)
inline

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.

Definition at line 53 of file FunctionCode.h.

◆ ZipFileHasBeenSet()

bool Aws::Lambda::Model::FunctionCode::ZipFileHasBeenSet ( ) const
inline

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.

Definition at line 49 of file FunctionCode.h.


The documentation for this class was generated from the following file: