FunctionConfiguration

public struct FunctionConfiguration : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The expected encoding type of the input payload for the function. The default is “json”.

    Declaration

    Swift

    public let encodingType: EncodingType?
  • The environment configuration of the function.

    Declaration

    Swift

    public let environment: FunctionConfigurationEnvironment?
  • The execution arguments.

    Declaration

    Swift

    public let execArgs: String?
  • The name of the function executable.

    Declaration

    Swift

    public let executable: String?
  • The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.

    Declaration

    Swift

    public let memorySize: Int?
  • True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.

    Declaration

    Swift

    public let pinned: Bool?
  • The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.

    Declaration

    Swift

    public let timeout: Int?
  • Undocumented

    Declaration

    Swift

    public init(encodingType: EncodingType? = nil, environment: FunctionConfigurationEnvironment? = nil, execArgs: String? = nil, executable: String? = nil, memorySize: Int? = nil, pinned: Bool? = nil, timeout: Int? = nil)