AWSLambdaFunctionConfiguration

Objective-C

@interface AWSLambdaFunctionConfiguration

Swift

class AWSLambdaFunctionConfiguration

Details about a function’s configuration.

  • The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable architectures;

    Swift

    var architectures: [String]? { get set }
  • The SHA256 hash of the function’s deployment package.

    Declaration

    Objective-C

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

    Swift

    var codeSha256: String? { get set }
  • The size of the function’s deployment package, in bytes.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable codeSize;

    Swift

    var codeSize: NSNumber? { get set }
  • The function’s dead letter queue.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaDeadLetterConfig *_Nullable deadLetterConfig;

    Swift

    var deadLetterConfig: AWSLambdaDeadLetterConfig? { get set }
  • The function’s description.

    Declaration

    Objective-C

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

    Swift

    var detail: String? { get set }
  • The function’s environment variables. Omitted from CloudTrail logs.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaEnvironmentResponse *_Nullable environment;

    Swift

    var environment: AWSLambdaEnvironmentResponse? { get set }
  • The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console).

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaEphemeralStorage *_Nullable ephemeralStorage;

    Swift

    var ephemeralStorage: AWSLambdaEphemeralStorage? { get set }
  • Connection settings for an Amazon EFS file system.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSLambdaFileSystemConfig *> *_Nullable fileSystemConfigs;

    Swift

    var fileSystemConfigs: [AWSLambdaFileSystemConfig]? { get set }
  • The function’s Amazon Resource Name (ARN).

    Declaration

    Objective-C

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

    Swift

    var functionArn: String? { get set }
  • The name of the function.

    Declaration

    Objective-C

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

    Swift

    var functionName: String? { get set }
  • The function that Lambda calls to begin running your function.

    Declaration

    Objective-C

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

    Swift

    var handler: String? { get set }
  • The function’s image configuration values.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaImageConfigResponse *_Nullable imageConfigResponse;

    Swift

    var imageConfigResponse: AWSLambdaImageConfigResponse? { get set }
  • The KMS key that’s used to encrypt the function’s environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function’s snapshot. This key is returned only if you’ve configured a customer managed key.

    Declaration

    Objective-C

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

    Swift

    var kmsKeyArn: String? { get set }
  • The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

    Declaration

    Objective-C

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

    Swift

    var lastModified: String? { get set }
  • The status of the last update that was performed on the function. This is first set to Successful after function creation completes.

    Declaration

    Objective-C

    @property (nonatomic) AWSLambdaLastUpdateStatus lastUpdateStatus;

    Swift

    var lastUpdateStatus: AWSLambdaLastUpdateStatus { get set }
  • The reason for the last update that was performed on the function.

    Declaration

    Objective-C

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

    Swift

    var lastUpdateStatusReason: String? { get set }
  • The reason code for the last update that was performed on the function.

    Declaration

    Objective-C

    @property (nonatomic) AWSLambdaLastUpdateStatusReasonCode lastUpdateStatusReasonCode;

    Swift

    var lastUpdateStatusReasonCode: AWSLambdaLastUpdateStatusReasonCode { get set }
  • The function’s layers.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSLambdaLayer *> *_Nullable layers;

    Swift

    var layers: [AWSLambdaLayer]? { get set }
  • The function’s Amazon CloudWatch Logs configuration settings.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaLoggingConfig *_Nullable loggingConfig;

    Swift

    var loggingConfig: AWSLambdaLoggingConfig? { get set }
  • For Lambda@Edge functions, the ARN of the main function.

    Declaration

    Objective-C

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

    Swift

    var masterArn: String? { get set }
  • The amount of memory available to the function at runtime.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable memorySize;

    Swift

    var memorySize: NSNumber? { get set }
  • The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

    Declaration

    Objective-C

    @property (nonatomic) AWSLambdaPackageType packageType;

    Swift

    var packageType: AWSLambdaPackageType { get set }
  • The latest updated revision of the function or alias.

    Declaration

    Objective-C

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

    Swift

    var revisionId: String? { get set }
  • The function’s execution role.

    Declaration

    Objective-C

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

    Swift

    var role: String? { get set }
  • The identifier of the function’s runtime. Runtime is required if the deployment package is a .zip file archive.

    The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

    Declaration

    Objective-C

    @property (nonatomic) AWSLambdaRuntime runtime;

    Swift

    var runtime: AWSLambdaRuntime { get set }
  • The ARN of the runtime and any errors that occured.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaRuntimeVersionConfig *_Nullable runtimeVersionConfig;

    Swift

    var runtimeVersionConfig: AWSLambdaRuntimeVersionConfig? { get set }
  • The ARN of the signing job.

    Declaration

    Objective-C

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

    Swift

    var signingJobArn: String? { get set }
  • The ARN of the signing profile version.

    Declaration

    Objective-C

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

    Swift

    var signingProfileVersionArn: String? { get set }
  • Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaSnapStartResponse *_Nullable snapStart;

    Swift

    var snapStart: AWSLambdaSnapStartResponse? { get set }
  • The current state of the function. When the state is Inactive, you can reactivate the function by invoking it.

    Declaration

    Objective-C

    @property (nonatomic) AWSLambdaState state;

    Swift

    var state: AWSLambdaState { get set }
  • The reason for the function’s current state.

    Declaration

    Objective-C

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

    Swift

    var stateReason: String? { get set }
  • The reason code for the function’s current state. When the code is Creating, you can’t invoke or modify the function.

    Declaration

    Objective-C

    @property (nonatomic) AWSLambdaStateReasonCode stateReasonCode;

    Swift

    var stateReasonCode: AWSLambdaStateReasonCode { get set }
  • The amount of time in seconds that Lambda allows a function to run before stopping it.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable timeout;

    Swift

    var timeout: NSNumber? { get set }
  • The function’s X-Ray tracing configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaTracingConfigResponse *_Nullable tracingConfig;

    Swift

    var tracingConfig: AWSLambdaTracingConfigResponse? { get set }
  • The version of the Lambda function.

    Declaration

    Objective-C

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

    Swift

    var version: String? { get set }
  • The function’s networking configuration.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLambdaVpcConfigResponse *_Nullable vpcConfig;

    Swift

    var vpcConfig: AWSLambdaVpcConfigResponse? { get set }