Class: Aws::Lambda::Types::PutFunctionConcurrencyRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass PutFunctionConcurrencyRequest data as a hash:

{
  function_name: "FunctionName", # required
  reserved_concurrent_executions: 1, # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#function_nameString

The name of the Lambda function.

**Name formats**

  • **Function name** - ‘my-function`.

  • **Function ARN** - ‘arn:aws:lambda:us-west-2:123456789012:function:my-function`.

  • **Partial ARN** - ‘123456789012:function:my-function`.

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Returns:

  • (String)


2402
2403
2404
2405
2406
# File 'lib/aws-sdk-lambda/types.rb', line 2402

class PutFunctionConcurrencyRequest < Struct.new(
  :function_name,
  :reserved_concurrent_executions)
  include Aws::Structure
end

#reserved_concurrent_executionsInteger

The number of simultaneous executions to reserve for the function.

Returns:

  • (Integer)


2402
2403
2404
2405
2406
# File 'lib/aws-sdk-lambda/types.rb', line 2402

class PutFunctionConcurrencyRequest < Struct.new(
  :function_name,
  :reserved_concurrent_executions)
  include Aws::Structure
end