AWSLambdaFunctionCode

Objective-C

@interface AWSLambdaFunctionCode

Swift

class AWSLambdaFunctionCode

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.

  • URI of a container image in the Amazon ECR registry.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable imageUri;

    Swift

    var imageUri: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable s3Bucket;

    Swift

    var s3Bucket: String? { get set }
  • The Amazon S3 key of the deployment package.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable s3Key;

    Swift

    var s3Key: String? { get set }
  • For versioned objects, the version of the deployment package object to use.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable s3ObjectVersion;

    Swift

    var s3ObjectVersion: String? { get set }
  • The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSData *_Nullable zipFile;

    Swift

    var zipFile: Data? { get set }